diff options
Diffstat (limited to 'fs/sysv/symlink.c')
-rw-r--r-- | fs/sysv/symlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/sysv/symlink.c b/fs/sysv/symlink.c index 00d2f8a..d3fa0d7 100644 --- a/fs/sysv/symlink.c +++ b/fs/sysv/symlink.c @@ -10,7 +10,7 @@ static void *sysv_follow_link(struct dentry *dentry, struct nameidata *nd) { - nd_set_link(nd, (char *)SYSV_I(dentry->d_inode)->i_data); + nd_set_link(nd, (char *)SYSV_I(d_inode(dentry))->i_data); return NULL; } |