diff options
author | Christian Brauner <brauner@kernel.org> | 2025-04-03 16:43:50 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2025-04-03 15:45:35 -0700 |
commit | c0dbd11ada2c94edc337a5f6665cbaa6079ff785 (patch) | |
tree | c2954c5be7d13497f195ccd43125292560b1d190 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 56770e24f678a84a21f21bcc1ae9cbc1364677bd (diff) | |
download | linux-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