VFS: normal filesystems (and lustre): d_inode() annotations
[deliverable/linux.git] / fs / jffs2 / xattr.c
index d72817ac51f646e50ea2e6e867a5252b540eb428..c4dd342d13a703966910057faaa0bdd1ed3f6bbb 100644 (file)
@@ -960,7 +960,7 @@ static const struct xattr_handler *xprefix_to_handler(int xprefix) {
 
 ssize_t jffs2_listxattr(struct dentry *dentry, char *buffer, size_t size)
 {
-       struct inode *inode = dentry->d_inode;
+       struct inode *inode = d_inode(dentry);
        struct jffs2_inode_info *f = JFFS2_INODE_INFO(inode);
        struct jffs2_sb_info *c = JFFS2_SB_INFO(inode->i_sb);
        struct jffs2_inode_cache *ic = f->inocache;
This page took 0.023807 seconds and 5 git commands to generate.