diff options
author | Muchun Song | 2023-05-23 10:40:17 +0800 |
---|---|---|
committer | Greg Kroah-Hartman | 2023-07-19 16:21:53 +0200 |
commit | f5d80ad7b6780c8b2692491029109d551ec41b61 (patch) | |
tree | d0f332fd009d35a7d224b059302cac292786d730 /fs/fhandle.c | |
parent | 9c4f52b61804f075d981c654107c6dbb52816aa3 (diff) |
kernfs: fix missing kernfs_idr_lock to remove an ID from the IDR
[ Upstream commit 30480b988f88c279752f3202a26b6fee5f586aef ]
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 <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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/fhandle.c')
0 files changed, 0 insertions, 0 deletions