diff options
author | Muchun Song <[email protected]> | 2023-05-23 10:40:17 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-05-31 19:03:49 +0100 |
commit | 30480b988f88c279752f3202a26b6fee5f586aef (patch) | |
tree | fda750c9a4a86d34cfd2f3da57b2fddba9dd2f68 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 6bea9ea6bb21ccee2aad0aa2a845499e0aa2f7f9 (diff) |
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: 488dee96bb62 ("kernfs: allow creating kernfs objects with arbitrary uid/gid")
Signed-off-by: Muchun Song <[email protected]>
Acked-by: Tejun Heo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions