VFS: normal filesystems (and lustre): d_inode() annotations
[linux-block.git] / fs / exofs / symlink.c
index 832e2624b80bab95bd1440c5c8295ab13ec7859a..6f6f3a4c1365f730747e74d9c30dd83cb796b99c 100644 (file)
@@ -37,7 +37,7 @@
 
 static void *exofs_follow_link(struct dentry *dentry, struct nameidata *nd)
 {
-       struct exofs_i_info *oi = exofs_i(dentry->d_inode);
+       struct exofs_i_info *oi = exofs_i(d_inode(dentry));
 
        nd_set_link(nd, (char *)oi->i_data);
        return NULL;