VFS: normal filesystems (and lustre): d_inode() annotations
[linux-2.6-block.git] / fs / squashfs / export.c
index 5e1101ff276f940eeda02c596dcbdc9acff98d04..8073b6532cf0473f7cb16d75764b3aa93d985a32 100644 (file)
@@ -110,7 +110,7 @@ static struct dentry *squashfs_fh_to_parent(struct super_block *sb,
 
 static struct dentry *squashfs_get_parent(struct dentry *child)
 {
-       struct inode *inode = child->d_inode;
+       struct inode *inode = d_inode(child);
        unsigned int parent_ino = squashfs_i(inode)->parent;
 
        return squashfs_export_iget(inode->i_sb, parent_ino);