aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/linker.c
diff options
context:
space:
mode:
authorChristian Brauner <[email protected]>2025-04-03 14:43:50 +0000
committerLinus Torvalds <[email protected]>2025-04-03 22:45:35 +0000
commitc0dbd11ada2c94edc337a5f6665cbaa6079ff785 (patch)
treec2954c5be7d13497f195ccd43125292560b1d190 /tools/lib/bpf/linker.c
parentMerge tag 'bcachefs-2025-04-03' of git://evilpiepirate.org/bcachefs (diff)
downloadkernel-c0dbd11ada2c94edc337a5f6665cbaa6079ff785.tar.gz
kernel-c0dbd11ada2c94edc337a5f6665cbaa6079ff785.zip
fs: actually hold the namespace semaphore
Don't use a scoped guard that only protects the next statement. Use a regular guard to make sure that the namespace semaphore is held across the whole function. Signed-off-by: Christian Brauner <[email protected]> Reported-by: Leon Romanovsky <[email protected]> Link: https://lore.kernel.org/all/20250401170715.GA112019@unreal/ Fixes: db04662e2f4f ("fs: allow detached mounts in clone_private_mount()") Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/lib/bpf/linker.c')
0 files changed, 0 insertions, 0 deletions