summaryrefslogtreecommitdiff
path: root/fs/jffs2/fs.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2015-05-02 17:21:20 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2015-05-11 05:18:23 +0300
commita8db149fc97b122ffd14e1a5f6a110124dd721ea (patch)
treef063cdf196ee7a2dbad90ff7a642a032e577df4c /fs/jffs2/fs.c
parent75e7566bea0c9b2a257441b66294be94863ef929 (diff)
downloadlinux-a8db149fc97b122ffd14e1a5f6a110124dd721ea.tar.xz
jffs2: switch to simple_follow_link()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/jffs2/fs.c')
-rw-r--r--fs/jffs2/fs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/jffs2/fs.c b/fs/jffs2/fs.c
index fe5ea080b4ec..60d86e8fba6e 100644
--- a/fs/jffs2/fs.c
+++ b/fs/jffs2/fs.c
@@ -294,6 +294,7 @@ struct inode *jffs2_iget(struct super_block *sb, unsigned long ino)
case S_IFLNK:
inode->i_op = &jffs2_symlink_inode_operations;
+ inode->i_link = f->target;
break;
case S_IFDIR: