mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 08:02:27 +02:00
Merge branch 'no-rebase-mnt_ns_tree_remove' into work.mount
This commit is contained in:
commit
1b966c4471
|
|
@ -195,7 +195,7 @@ static void mnt_ns_release_rcu(struct rcu_head *rcu)
|
|||
static void mnt_ns_tree_remove(struct mnt_namespace *ns)
|
||||
{
|
||||
/* remove from global mount namespace list */
|
||||
if (!is_anon_ns(ns)) {
|
||||
if (!RB_EMPTY_NODE(&ns->mnt_ns_tree_node)) {
|
||||
mnt_ns_tree_write_lock();
|
||||
rb_erase(&ns->mnt_ns_tree_node, &mnt_ns_tree);
|
||||
list_bidir_del_rcu(&ns->mnt_ns_list);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user