diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2019-11-10 21:59:34 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-11-10 21:59:34 +0100 |
commit | a5871fcba46edcf7380d9d86e6a07b3366c3c2f6 (patch) | |
tree | 6f120e1576eb969bdc707e7b9b746904dd2228b7 /fs | |
parent | Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/ker... (diff) | |
parent | configfs: calculate the depth of parent item (diff) | |
download | linux-a5871fcba46edcf7380d9d86e6a07b3366c3c2f6.tar.xz linux-a5871fcba46edcf7380d9d86e6a07b3366c3c2f6.zip |
Merge tag 'configfs-for-5.4-2' of git://git.infradead.org/users/hch/configfs
Pull configfs regression fix from Christoph Hellwig:
"Fix a regression from this merge window in the configfs symlink
handling (Honggang Li)"
* tag 'configfs-for-5.4-2' of git://git.infradead.org/users/hch/configfs:
configfs: calculate the depth of parent item
Diffstat (limited to 'fs')
-rw-r--r-- | fs/configfs/symlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/configfs/symlink.c b/fs/configfs/symlink.c index dc5dbf6a81d7..cb61467478ca 100644 --- a/fs/configfs/symlink.c +++ b/fs/configfs/symlink.c @@ -101,7 +101,7 @@ static int create_link(struct config_item *parent_item, } target_sd->s_links++; spin_unlock(&configfs_dirent_lock); - ret = configfs_get_target_path(item, item, body); + ret = configfs_get_target_path(parent_item, item, body); if (!ret) ret = configfs_create_link(target_sd, parent_item->ci_dentry, dentry, body); |