From: Brian Behlendorf Date: Wed, 30 Mar 2011 05:46:38 +0000 (-0700) Subject: Add .va_dentry helper X-Git-Tag: spl-0.6.0-rc3~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=91cb1d91a4cf0dfa360f09747915699d0bef3d6f;p=spl 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. --- diff --git a/include/sys/vnode.h b/include/sys/vnode.h index 09c2258..7d655e5 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 {