summaryrefslogtreecommitdiff
path: root/fs/jffs2/dir.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/dir.c
parent75e7566bea0c9b2a257441b66294be94863ef929 (diff)
downloadlinux-rpi-a8db149fc97b122ffd14e1a5f6a110124dd721ea.tar.gz
linux-rpi-a8db149fc97b122ffd14e1a5f6a110124dd721ea.tar.bz2
linux-rpi-a8db149fc97b122ffd14e1a5f6a110124dd721ea.zip
jffs2: switch to simple_follow_link()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/jffs2/dir.c')
-rw-r--r--fs/jffs2/dir.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/jffs2/dir.c b/fs/jffs2/dir.c
index 1ba5c97943b8..81180022923f 100644
--- a/fs/jffs2/dir.c
+++ b/fs/jffs2/dir.c
@@ -354,6 +354,7 @@ static int jffs2_symlink (struct inode *dir_i, struct dentry *dentry, const char
ret = -ENOMEM;
goto fail;
}
+ inode->i_link = f->target;
jffs2_dbg(1, "%s(): symlink's target '%s' cached\n",
__func__, (char *)f->target);