Add .va_dentry helper

While this extra structure memory does not exist under Solaris
it is needed under Linux to pass the dentry.  This allows the
dentry to be easily instantiated before the inode is unlocked.
This commit is contained in:
Brian Behlendorf 2011-03-29 22:46:38 -07:00
parent af67391e45
commit 91cb1d91a4
1 changed files with 1 additions and 0 deletions

View File

@ -140,6 +140,7 @@ typedef struct vattr {
uint64_t va_nblocks; /* space used */ uint64_t va_nblocks; /* space used */
uint32_t va_blksize; /* block size */ uint32_t va_blksize; /* block size */
uint32_t va_seq; /* sequence */ uint32_t va_seq; /* sequence */
struct dentry *va_dentry; /* dentry to wire */
} vattr_t; } vattr_t;
typedef struct vnode { typedef struct vnode {