summaryrefslogtreecommitdiff
path: root/rust/helpers/cpu.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2025-08-26 16:53:42 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2025-09-15 21:26:44 -0400
commit71cf10ce4562ed7b18f3bd44a4e2dfafd0e84c50 (patch)
treefcf225d874c50cd2d07cf10337609103f26e429c /rust/helpers/cpu.c
parent1a22542b5ffe2f91859ed7c7e610dc7b588a6713 (diff)
open_detached_copy(): don't bother with mount_lock_hash()
we are holding namespace_sem and a reference to root of tree; iterating through that tree does not need mount_lock. Neither does the insertion into the rbtree of new namespace or incrementing the mount count of that namespace. Reviewed-by: Christian Brauner <brauner@kernel.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'rust/helpers/cpu.c')
0 files changed, 0 insertions, 0 deletions