From 91cb1d91a4cf0dfa360f09747915699d0bef3d6f Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Tue, 29 Mar 2011 22:46:38 -0700 Subject: [PATCH] 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. --- include/sys/vnode.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/sys/vnode.h b/include/sys/vnode.h index 09c22585a0..7d655e5ef7 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 {