summaryrefslogtreecommitdiff
path: root/fs/exofs/symlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/exofs/symlink.c')
-rw-r--r--fs/exofs/symlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/exofs/symlink.c b/fs/exofs/symlink.c
index 832e2624b80b..6f6f3a4c1365 100644
--- a/fs/exofs/symlink.c
+++ b/fs/exofs/symlink.c
@@ -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;