diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-05-02 17:35:42 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-05-11 05:18:25 +0300 |
commit | 0f301bd3055e86771e7c738ca009afad0964dbd2 (patch) | |
tree | 05e78351a9de9f482af518d424c32d07ef0e8c98 /fs/ubifs/dir.c | |
parent | 4b8061a67f67ebd28d4273b05d1b6ae38f2a019b (diff) | |
download | linux-0f301bd3055e86771e7c738ca009afad0964dbd2.tar.xz |
ubifs: switch to simple_follow_link()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ubifs/dir.c')
-rw-r--r-- | fs/ubifs/dir.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ubifs/dir.c b/fs/ubifs/dir.c index 27060fc855d4..5c27c66c224a 100644 --- a/fs/ubifs/dir.c +++ b/fs/ubifs/dir.c @@ -889,6 +889,7 @@ static int ubifs_symlink(struct inode *dir, struct dentry *dentry, memcpy(ui->data, symname, len); ((char *)ui->data)[len] = '\0'; + inode->i_link = ui->data; /* * The terminating zero byte is not written to the flash media and it * is put just to make later in-memory string processing simpler. Thus, |