VFS: normal filesystems (and lustre): d_inode() annotations
[linux-2.6-block.git] / fs / nfs / nfs3acl.c
index 658e586ca438bc2964c0edc75242a373c2239f50..1ebe2fc7cda2778edfb968da2c8f079dd2870431 100644 (file)
@@ -279,7 +279,7 @@ nfs3_list_one_acl(struct inode *inode, int type, const char *name, void *data,
 ssize_t
 nfs3_listxattr(struct dentry *dentry, char *data, size_t size)
 {
-       struct inode *inode = dentry->d_inode;
+       struct inode *inode = d_inode(dentry);
        ssize_t result = 0;
        int error;