summaryrefslogtreecommitdiffstats
path: root/fs/jffs2/fs.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2015-05-02 10:21:20 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2015-05-10 22:18:23 -0400
commita8db149fc97b122ffd14e1a5f6a110124dd721ea (patch)
treef063cdf196ee7a2dbad90ff7a642a032e577df4c /fs/jffs2/fs.c
parent75e7566bea0c9b2a257441b66294be94863ef929 (diff)
downloadlinux-a8db149fc97b122ffd14e1a5f6a110124dd721ea.tar.gz
linux-a8db149fc97b122ffd14e1a5f6a110124dd721ea.tar.bz2
linux-a8db149fc97b122ffd14e1a5f6a110124dd721ea.zip
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: