summaryrefslogtreecommitdiffstats
path: root/fs/ufs/symlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ufs/symlink.c')
-rw-r--r--fs/ufs/symlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ufs/symlink.c b/fs/ufs/symlink.c
index d283628..5b537e2 100644
--- a/fs/ufs/symlink.c
+++ b/fs/ufs/symlink.c
@@ -34,7 +34,7 @@
static void *ufs_follow_link(struct dentry *dentry, struct nameidata *nd)
{
- struct ufs_inode_info *p = UFS_I(dentry->d_inode);
+ struct ufs_inode_info *p = UFS_I(d_inode(dentry));
nd_set_link(nd, (char*)p->i_u1.i_symlink);
return NULL;
}
OpenPOWER on IntegriCloud