VFS: normal filesystems (and lustre): d_inode() annotations
[linux-2.6-block.git] / fs / ext4 / symlink.c
index ff371193201841aa5ffee964e09d5862a8e25796..57f50091b8d1285e7c16638504a08e6a268f9b16 100644 (file)
@@ -25,7 +25,7 @@
 
 static void *ext4_follow_link(struct dentry *dentry, struct nameidata *nd)
 {
-       struct ext4_inode_info *ei = EXT4_I(dentry->d_inode);
+       struct ext4_inode_info *ei = EXT4_I(d_inode(dentry));
        nd_set_link(nd, (char *) ei->i_data);
        return NULL;
 }