summaryrefslogtreecommitdiffstats
path: root/fs/ubifs/super.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2015-05-02 10:35:42 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2015-05-10 22:18:25 -0400
commit0f301bd3055e86771e7c738ca009afad0964dbd2 (patch)
tree05e78351a9de9f482af518d424c32d07ef0e8c98 /fs/ubifs/super.c
parent4b8061a67f67ebd28d4273b05d1b6ae38f2a019b (diff)
downloadop-kernel-dev-0f301bd3055e86771e7c738ca009afad0964dbd2.zip
op-kernel-dev-0f301bd3055e86771e7c738ca009afad0964dbd2.tar.gz
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 75e6f04..20f5dbd 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:
OpenPOWER on IntegriCloud