VFS: normal filesystems (and lustre): d_inode() annotations
[linux-2.6-block.git] / fs / nfs / symlink.c
index 05c9e02f4153e340d94035bfdef6cc8db34b5a06..2d56200655fe600ae73d11c382af5815285fab48 100644 (file)
@@ -45,7 +45,7 @@ error:
 
 static void *nfs_follow_link(struct dentry *dentry, struct nameidata *nd)
 {
-       struct inode *inode = dentry->d_inode;
+       struct inode *inode = d_inode(dentry);
        struct page *page;
        void *err;