diff options
| author | 2025-08-26 17:04:44 -0400 | |
|---|---|---|
| committer | 2025-09-17 15:58:28 -0400 | |
| commit | 7bb4c851dcb7a4ec0b4ba7fcf3f451da0894969d (patch) | |
| tree | b2c3655aa5dececce68e4e0ccd040dc10cf2870f /scripts/lib/kdoc/kdoc_parser.py | |
| parent | Merge branch 'no-rebase-mnt_ns_tree_remove' into work.mount (diff) | |
| download | wireguard-linux-7bb4c851dcb7a4ec0b4ba7fcf3f451da0894969d.tar.xz wireguard-linux-7bb4c851dcb7a4ec0b4ba7fcf3f451da0894969d.zip | |
copy_mnt_ns(): use the regular mechanism for freeing empty mnt_ns on failure
Now that free_mnt_ns() works prior to mnt_ns_tree_add(), there's no need for
an open-coded analogue free_mnt_ns() there - yes, we do avoid one call_rcu()
use per failing call of clone() or unshare(), if they fail due to OOM in that
particular spot, but it's not really worth bothering.
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions
