summaryrefslogtreecommitdiff
path: root/fs/ubifs/super.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2015-05-02 17:35:42 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2015-05-11 05:18:25 +0300
commit0f301bd3055e86771e7c738ca009afad0964dbd2 (patch)
tree05e78351a9de9f482af518d424c32d07ef0e8c98 /fs/ubifs/super.c
parent4b8061a67f67ebd28d4273b05d1b6ae38f2a019b (diff)
downloadlinux-0f301bd3055e86771e7c738ca009afad0964dbd2.tar.xz
ubifs: switch to simple_follow_link()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ubifs/super.c')
-rw-r--r--fs/ubifs/super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c
index 75e6f04bb795..20f5dbd7c6a8 100644
--- a/fs/ubifs/super.c
+++ b/fs/ubifs/super.c
@@ -195,6 +195,7 @@ struct inode *ubifs_iget(struct super_block *sb, unsigned long inum)
}
memcpy(ui->data, ino->data, ui->data_len);
((char *)ui->data)[ui->data_len] = '\0';
+ inode->i_link = ui->data;
break;
case S_IFBLK:
case S_IFCHR: