Commit 71cf10c
Al Viro
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>1 parent 1a22542 commit 71cf10c
1 file changed
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3080 | 3080 | | |
3081 | 3081 | | |
3082 | 3082 | | |
3083 | | - | |
3084 | 3083 | | |
3085 | 3084 | | |
3086 | 3085 | | |
3087 | 3086 | | |
3088 | 3087 | | |
3089 | 3088 | | |
3090 | | - | |
3091 | 3089 | | |
3092 | 3090 | | |
3093 | 3091 | | |
| |||
0 commit comments