From a8db149fc97b122ffd14e1a5f6a110124dd721ea Mon Sep 17 00:00:00 2001 From: Al Viro Date: Sat, 2 May 2015 10:21:20 -0400 Subject: jffs2: switch to simple_follow_link() Signed-off-by: Al Viro --- fs/jffs2/dir.c | 1 + 1 file changed, 1 insertion(+) (limited to 'fs/jffs2/dir.c') 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); -- cgit v1.2.3