diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-05-02 16:35:42 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-05-11 04:18:25 +0200 |
commit | 0f301bd3055e86771e7c738ca009afad0964dbd2 (patch) | |
tree | 05e78351a9de9f482af518d424c32d07ef0e8c98 /fs/ubifs/dir.c | |
parent | ufs: switch to simple_follow_link() (diff) | |
download | linux-0f301bd3055e86771e7c738ca009afad0964dbd2.tar.xz linux-0f301bd3055e86771e7c738ca009afad0964dbd2.zip |
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, |