aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2025-04-03 16:43:50 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2025-04-03 15:45:35 -0700
commitc0dbd11ada2c94edc337a5f6665cbaa6079ff785 (patch)
treec2954c5be7d13497f195ccd43125292560b1d190 /net/lapb/lapb_timer.c
parentMerge tag 'bcachefs-2025-04-03' of git://evilpiepirate.org/bcachefs (diff)
downloadwireguard-linux-c0dbd11ada2c94edc337a5f6665cbaa6079ff785.tar.xz
wireguard-linux-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 <brauner@kernel.org> Reported-by: Leon Romanovsky <leon@kernel.org> Link: https://lore.kernel.org/all/20250401170715.GA112019@unreal/ Fixes: db04662e2f4f ("fs: allow detached mounts in clone_private_mount()") Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions