diff options
author | Brian Behlendorf <[email protected]> | 2011-03-29 22:46:38 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2011-04-06 20:06:03 -0700 |
commit | 91cb1d91a4cf0dfa360f09747915699d0bef3d6f (patch) | |
tree | d4378c62d25a1c70b71e5e6fb0f8f10fa1a6d743 /include | |
parent | af67391e45967dfa63346fe5cc8d2748e79b8406 (diff) |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/vnode.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/vnode.h b/include/sys/vnode.h index 09c22585a..7d655e5ef 100644 --- a/include/sys/vnode.h +++ b/include/sys/vnode.h @@ -140,6 +140,7 @@ typedef struct vattr { uint64_t va_nblocks; /* space used */ uint32_t va_blksize; /* block size */ uint32_t va_seq; /* sequence */ + struct dentry *va_dentry; /* dentry to wire */ } vattr_t; typedef struct vnode { |