summaryrefslogtreecommitdiff
path: root/drivers/fpga/xilinx-spi.c
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2025-04-03 17:43:50 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2025-04-04 01:45:35 +0300
commitc0dbd11ada2c94edc337a5f6665cbaa6079ff785 (patch)
treec2954c5be7d13497f195ccd43125292560b1d190 /drivers/fpga/xilinx-spi.c
parent56770e24f678a84a21f21bcc1ae9cbc1364677bd (diff)
downloadlinux-c0dbd11ada2c94edc337a5f6665cbaa6079ff785.tar.xz
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 'drivers/fpga/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions