summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
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 /tools/perf/scripts/python/export-to-sqlite.py
parent56770e24f678a84a21f21bcc1ae9cbc1364677bd (diff)
downloadlinux-stable-c0dbd11ada2c94edc337a5f6665cbaa6079ff785.tar.gz
linux-stable-c0dbd11ada2c94edc337a5f6665cbaa6079ff785.tar.bz2
linux-stable-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 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions