linux/fs/kernfs
Muchun Song 30480b988f kernfs: fix missing kernfs_idr_lock to remove an ID from the IDR
The root->ino_idr is supposed to be protected by kernfs_idr_lock, fix
it.

Fixes: 488dee96bb ("kernfs: allow creating kernfs objects with arbitrary uid/gid")
Signed-off-by: Muchun Song <songmuchun@bytedance.com>
Acked-by: Tejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/r/20230523024017.24851-1-songmuchun@bytedance.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-05-31 19:03:49 +01:00
..
dir.c kernfs: fix missing kernfs_idr_lock to remove an ID from the IDR 2023-05-31 19:03:49 +01:00
file.c kernfs: Use a per-fs rwsem to protect per-fs list of kernfs_super_info. 2023-03-29 12:23:45 +02:00
inode.c kernfs: Introduce separate rwsem to protect inode attributes. 2023-03-29 12:23:45 +02:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
kernfs-internal.h kernfs: Use a per-fs rwsem to protect per-fs list of kernfs_super_info. 2023-03-29 12:23:45 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
mount.c kernfs: Use a per-fs rwsem to protect per-fs list of kernfs_super_info. 2023-03-29 12:23:45 +02:00
symlink.c kernfs: fix all kernel-doc warnings and multiple typos 2022-11-23 19:28:26 +01:00