From: Al Viro <viro@zeniv.linux.org.uk>
To: linux-fsdevel@vger.kernel.org
Cc: brauner@kernel.org, ebiederm@xmission.com, jack@suse.cz,
torvalds@linux-foundation.org
Subject: [PATCH 26/26] don't have mounts pin their parents
Date: Tue, 10 Jun 2025 09:21:48 +0100 [thread overview]
Message-ID: <20250610082148.1127550-26-viro@zeniv.linux.org.uk> (raw)
In-Reply-To: <20250610082148.1127550-1-viro@zeniv.linux.org.uk>
Simplify the rules for mount refcounts. Current rules include:
* being a namespace root => +1
* being someone's child => +1
* being someone's child => +1 to parent's refcount, unless you've
already been through umount_tree().
The last part is not needed at all. It makes for more places where need
to decrement refcounts and it creates an asymmetry between the situations
for something that has never been a part of a namespace and something that
left one, both for no good reason.
If mount's refcount has additions from its children, we know that
* it's either someone's child itself (and will remain so
until umount_tree(), at which point contributions from children
will disappear), or
* or is the root of namespace (and will remain such until
it either becomes someone's child in another namespace or goes through
umount_tree()), or
* it is the root of some tree copy, and is currently pinned
by the caller of copy_tree() (and remains such until it either gets
into namespace, or goes to umount_tree()).
In all cases we already have contribution(s) to refcount that will last
as long as the contribution from children remains. In other words, the
lifetime is not affected by refcount contributions from children.
It might be useful for "is it busy" checks, but those are actually
no harder to express without it.
NB: propagate_mnt_busy() part is an equivalent transformation, ugly as it
is; the current logics is actually wrong and may give false negatives,
but fixing that is for a separate patch (probably earlier in the queue).
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
fs/namespace.c | 31 +++++++++--------------------
fs/pnode.c | 53 ++++++++++++++++++++------------------------------
2 files changed, 30 insertions(+), 54 deletions(-)
diff --git a/fs/namespace.c b/fs/namespace.c
index 1f1cf1d6a464..1bfc26098fe3 100644
--- a/fs/namespace.c
+++ b/fs/namespace.c
@@ -1072,7 +1072,6 @@ void mnt_set_mountpoint(struct mount *mnt,
struct mountpoint *mp,
struct mount *child_mnt)
{
- mnt_add_count(mnt, 1); /* essentially, that's mntget */
child_mnt->mnt_mountpoint = mp->m_dentry;
child_mnt->mnt_parent = mnt;
child_mnt->mnt_mp = mp;
@@ -1112,7 +1111,6 @@ static void attach_mnt(struct mount *mnt, struct mount *parent,
void mnt_change_mountpoint(struct mount *parent, struct mountpoint *mp, struct mount *mnt)
{
struct mountpoint *old_mp = mnt->mnt_mp;
- struct mount *old_parent = mnt->mnt_parent;
list_del_init(&mnt->mnt_child);
hlist_del_init(&mnt->mnt_mp_list);
@@ -1121,7 +1119,6 @@ void mnt_change_mountpoint(struct mount *parent, struct mountpoint *mp, struct m
attach_mnt(mnt, parent, mp);
maybe_free_mountpoint(old_mp, &ex_mountpoints);
- mnt_add_count(old_parent, -1);
}
static inline struct mount *node_to_mount(struct rb_node *node)
@@ -1646,23 +1643,19 @@ const struct seq_operations mounts_op = {
int may_umount_tree(struct vfsmount *m)
{
struct mount *mnt = real_mount(m);
- int actual_refs = 0;
- int minimum_refs = 0;
- struct mount *p;
- BUG_ON(!m);
+ bool busy = false;
/* write lock needed for mnt_get_count */
lock_mount_hash();
- for (p = mnt; p; p = next_mnt(p, mnt)) {
- actual_refs += mnt_get_count(p);
- minimum_refs += 2;
+ for (struct mount *p = mnt; p; p = next_mnt(p, mnt)) {
+ if (mnt_get_count(p) > (p == mnt ? 2 : 1)) {
+ busy = true;
+ break;
+ }
}
unlock_mount_hash();
- if (actual_refs > minimum_refs)
- return 0;
-
- return 1;
+ return !busy;
}
EXPORT_SYMBOL(may_umount_tree);
@@ -1863,7 +1856,6 @@ static void umount_tree(struct mount *mnt, enum umount_tree_flags how)
disconnect = disconnect_mount(p, how);
if (mnt_has_parent(p)) {
- mnt_add_count(p->mnt_parent, -1);
if (!disconnect) {
/* Don't forget about p */
list_add_tail(&p->mnt_child, &p->mnt_parent->mnt_mounts);
@@ -1940,7 +1932,7 @@ static int do_umount(struct mount *mnt, int flags)
* all race cases, but it's a slowpath.
*/
lock_mount_hash();
- if (mnt_get_count(mnt) != 2) {
+ if (!list_empty(&mnt->mnt_mounts) || mnt_get_count(mnt) != 2) {
unlock_mount_hash();
return -EBUSY;
}
@@ -3640,9 +3632,7 @@ static int do_move_mount(struct path *old_path,
out:
unlock_mount(&mp);
if (!err) {
- if (!is_anon_ns(ns)) {
- mntput_no_expire(parent);
- } else {
+ if (is_anon_ns(ns)) {
/* Make sure we notice when we leak mounts. */
VFS_WARN_ON_ONCE(!mnt_ns_empty(ns));
free_mnt_ns(ns);
@@ -4710,7 +4700,6 @@ SYSCALL_DEFINE2(pivot_root, const char __user *, new_root,
/* mount new_root on / */
attach_mnt(new_mnt, root_parent, root_mnt->mnt_mp);
umount_mnt(root_mnt);
- mnt_add_count(root_parent, -1);
/* mount old root on put_old */
attach_mnt(root_mnt, old_mnt, old_mp.mp);
touch_mnt_namespace(current->nsproxy->mnt_ns);
@@ -4723,8 +4712,6 @@ SYSCALL_DEFINE2(pivot_root, const char __user *, new_root,
error = 0;
out4:
unlock_mount(&old_mp);
- if (!error)
- mntput_no_expire(ex_parent);
out3:
path_put(&root);
out2:
diff --git a/fs/pnode.c b/fs/pnode.c
index f1752dd499af..efed6bb20c72 100644
--- a/fs/pnode.c
+++ b/fs/pnode.c
@@ -332,21 +332,6 @@ int propagate_mnt(struct mount *dest_mnt, struct mountpoint *dest_mp,
return ret;
}
-static struct mount *find_topper(struct mount *mnt)
-{
- /* If there is exactly one mount covering mnt completely return it. */
- struct mount *child;
-
- if (!list_is_singular(&mnt->mnt_mounts))
- return NULL;
-
- child = list_first_entry(&mnt->mnt_mounts, struct mount, mnt_child);
- if (child->mnt_mountpoint != mnt->mnt.mnt_root)
- return NULL;
-
- return child;
-}
-
/*
* return true if the refcount is greater than count
*/
@@ -404,12 +389,8 @@ bool propagation_would_overmount(const struct mount *from,
*/
int propagate_mount_busy(struct mount *mnt, int refcnt)
{
- struct mount *m, *child, *topper;
struct mount *parent = mnt->mnt_parent;
- if (mnt == parent)
- return do_refcount_check(mnt, refcnt);
-
/*
* quickly check if the current mount can be unmounted.
* If not, we don't have to go checking for all other
@@ -418,23 +399,31 @@ int propagate_mount_busy(struct mount *mnt, int refcnt)
if (!list_empty(&mnt->mnt_mounts) || do_refcount_check(mnt, refcnt))
return 1;
- for (m = propagation_next(parent, parent); m;
+ if (mnt == parent)
+ return 0;
+
+ for (struct mount *m = propagation_next(parent, parent); m;
m = propagation_next(m, parent)) {
- int count = 1;
- child = __lookup_mnt(&m->mnt, mnt->mnt_mountpoint);
- if (!child)
- continue;
+ struct list_head *head;
+ struct mount *child = __lookup_mnt(&m->mnt, mnt->mnt_mountpoint);
- /* Is there exactly one mount on the child that covers
- * it completely whose reference should be ignored?
- */
- topper = find_topper(child);
- if (topper)
- count += 1;
- else if (!list_empty(&child->mnt_mounts))
+ if (!child)
continue;
- if (do_refcount_check(child, count))
+ head = &child->mnt_mounts;
+ if (!list_empty(head)) {
+ struct mount *p;
+ /*
+ * a mount that covers child completely wouldn't prevent
+ * it being pulled out; any other would.
+ */
+ if (head->next != head->prev)
+ continue;
+ p = list_first_entry(head, struct mount, mnt_child);
+ if (p->mnt_mountpoint != p->mnt.mnt_root)
+ continue;
+ }
+ if (do_refcount_check(child, 1))
return 1;
}
return 0;
--
2.39.5
next prev parent reply other threads:[~2025-06-10 8:21 UTC|newest]
Thread overview: 175+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-10 8:17 [PATCHES][RFC][CFR] mount-related stuff Al Viro
2025-06-10 8:21 ` [PATCH 01/26] copy_tree(): don't set ->mnt_mountpoint on the root of copy Al Viro
2025-06-10 8:21 ` [PATCH 02/26] constify mnt_has_parent() Al Viro
2025-06-11 10:26 ` Christian Brauner
2025-06-10 8:21 ` [PATCH 03/26] pnode: lift peers() into pnode.h Al Viro
2025-06-11 10:29 ` Christian Brauner
2025-06-10 8:21 ` [PATCH 04/26] new predicate: mount_is_ancestor() Al Viro
2025-06-11 10:32 ` Christian Brauner
2025-06-10 8:21 ` [PATCH 05/26] constify is_local_mountpoint() Al Viro
2025-06-11 10:32 ` Christian Brauner
2025-06-10 8:21 ` [PATCH 06/26] new predicate: anon_ns_root(mount) Al Viro
2025-06-11 10:39 ` Christian Brauner
2025-06-11 17:57 ` Al Viro
2025-06-10 8:21 ` [PATCH 07/26] dissolve_on_fput(): use anon_ns_root() Al Viro
2025-06-11 10:41 ` Christian Brauner
2025-06-10 8:21 ` [PATCH 08/26] don't set MNT_LOCKED on parentless mounts Al Viro
2025-06-11 10:49 ` Christian Brauner
2025-06-10 8:21 ` [PATCH 09/26] clone_mnt(): simplify the propagation-related logics Al Viro
2025-06-11 10:53 ` Christian Brauner
2025-06-10 8:21 ` [PATCH 10/26] do_umount(): simplify the "is it still mounted" checks Al Viro
2025-06-11 10:54 ` Christian Brauner
2025-06-10 8:21 ` [PATCH 11/26] sanitize handling of long-term internal mounts Al Viro
2025-06-11 10:56 ` Christian Brauner
2025-06-10 8:21 ` [PATCH 12/26] Rewrite of propagate_umount() Al Viro
2025-06-11 10:56 ` Christian Brauner
2025-06-10 8:21 ` [PATCH 13/26] attach_mnt(): expand in attach_recursive_mnt(), then lose the flag argument Al Viro
2025-06-11 10:59 ` Christian Brauner
2025-06-10 8:21 ` [PATCH 14/26] do_move_mount(): take dropping the old mountpoint into attach_recursive_mnt() Al Viro
2025-06-11 10:59 ` Christian Brauner
2025-06-10 8:21 ` [PATCH 15/26] get rid of mnt_set_mountpoint_beneath() Al Viro
2025-06-11 11:01 ` Christian Brauner
2025-06-10 8:21 ` [PATCH 16/26] make commit_tree() usable in same-namespace move case Al Viro
2025-06-11 11:03 ` Christian Brauner
2025-06-10 8:21 ` [PATCH 17/26] attach_recursive_mnt(): unify the mnt_change_mountpoint() logics Al Viro
2025-06-11 11:05 ` Christian Brauner
2025-06-11 18:12 ` Al Viro
2025-06-12 12:08 ` Christian Brauner
2025-06-10 8:21 ` [PATCH 18/26] attach_recursive_mnt(): pass destination mount in all cases Al Viro
2025-06-11 11:07 ` Christian Brauner
2025-06-10 8:21 ` [PATCH 19/26] attach_recursive_mnt(): get rid of flags entirely Al Viro
2025-06-11 11:08 ` Christian Brauner
2025-06-10 8:21 ` [PATCH 20/26] do_move_mount(): get rid of 'attached' flag Al Viro
2025-06-11 11:08 ` Christian Brauner
2025-06-10 8:21 ` [PATCH 21/26] attach_recursive_mnt(): remove from expiry list on move Al Viro
2025-06-11 11:09 ` Christian Brauner
2025-06-10 8:21 ` [PATCH 22/26] take ->mnt_expire handling under mount_lock [read_seqlock_excl] Al Viro
2025-06-11 11:11 ` Christian Brauner
2025-06-10 8:21 ` [PATCH 23/26] pivot_root(): reorder tree surgeries, collapse unhash_mnt() and put_mountpoint() Al Viro
2025-06-11 11:11 ` Christian Brauner
2025-06-10 8:21 ` [PATCH 24/26] combine __put_mountpoint() with unhash_mnt() Al Viro
2025-06-11 11:12 ` Christian Brauner
2025-06-10 8:21 ` [PATCH 25/26] get rid of mountpoint->m_count Al Viro
2025-06-11 11:19 ` Christian Brauner
2025-06-11 18:47 ` Al Viro
2025-06-16 20:38 ` Al Viro
2025-06-16 21:52 ` Linus Torvalds
2025-06-10 8:21 ` Al Viro [this message]
2025-06-11 11:22 ` [PATCH 26/26] don't have mounts pin their parents Christian Brauner
2025-06-16 2:50 ` Ian Kent
2025-06-10 22:30 ` [PATCH 01/26] copy_tree(): don't set ->mnt_mountpoint on the root of copy Eric W. Biederman
2025-06-10 23:14 ` Al Viro
2025-06-11 10:31 ` [PATCHES][RFC][CFR] mount-related stuff Christian Brauner
2025-06-11 17:51 ` Al Viro
2025-06-12 12:09 ` Christian Brauner
2025-06-23 4:49 ` [PATCHES v2][RFC][CFR] " Al Viro
2025-06-23 4:53 ` [PATCH v2 01/35] replace collect_mounts()/drop_collected_mounts() with a safer variant Al Viro
2025-06-23 4:53 ` [PATCH v2 02/35] attach_recursive_mnt(): do not lock the covering tree when sliding something under it Al Viro
2025-06-23 4:53 ` [PATCH v2 03/35] attach_mnt(): expand in attach_recursive_mnt(), then lose the flag argument Al Viro
2025-06-23 4:53 ` [PATCH v2 04/35] get rid of mnt_set_mountpoint_beneath() Al Viro
2025-06-23 4:53 ` [PATCH v2 05/35] prevent mount hash conflicts Al Viro
2025-06-23 4:53 ` [PATCH v2 06/35] copy_tree(): don't set ->mnt_mountpoint on the root of copy Al Viro
2025-06-23 4:54 ` [PATCH v2 07/35] constify mnt_has_parent() Al Viro
2025-06-23 4:54 ` [PATCH v2 08/35] pnode: lift peers() into pnode.h Al Viro
2025-06-23 4:54 ` [PATCH v2 09/35] new predicate: mount_is_ancestor() Al Viro
2025-06-23 4:54 ` [PATCH v2 10/35] constify is_local_mountpoint() Al Viro
2025-06-23 4:54 ` [PATCH v2 11/35] new predicate: anon_ns_root(mount) Al Viro
2025-06-23 4:54 ` [PATCH v2 12/35] dissolve_on_fput(): use anon_ns_root() Al Viro
2025-06-23 4:54 ` [PATCH v2 13/35] __attach_mnt(): lose the second argument Al Viro
2025-06-23 4:54 ` [PATCH v2 14/35] don't set MNT_LOCKED on parentless mounts Al Viro
2025-06-23 4:54 ` [PATCH v2 15/35] clone_mnt(): simplify the propagation-related logics Al Viro
2025-06-23 4:54 ` [PATCH v2 16/35] do_umount(): simplify the "is it still mounted" checks Al Viro
2025-06-23 4:54 ` [PATCH v2 17/35] sanitize handling of long-term internal mounts Al Viro
2025-06-23 16:18 ` Linus Torvalds
2025-06-23 17:03 ` Al Viro
2025-06-23 18:21 ` Linus Torvalds
2025-06-28 7:58 ` [RFC] vfs_parse_fs_string() calling conventions change (was Re: [PATCH v2 17/35] sanitize handling of long-term internal mounts) Al Viro
2025-06-28 16:28 ` Al Viro
2025-06-29 17:47 ` Al Viro
2025-06-28 17:41 ` Linus Torvalds
2025-06-30 15:19 ` David Howells
2025-06-30 16:55 ` Al Viro
2025-06-30 17:04 ` Linus Torvalds
2025-06-23 4:54 ` [PATCH v2 18/35] Rewrite of propagate_umount() Al Viro
2025-06-23 4:54 ` [PATCH v2 19/35] make commit_tree() usable in same-namespace move case Al Viro
2025-06-23 4:54 ` [PATCH v2 20/35] attach_recursive_mnt(): unify the mnt_change_mountpoint() logics Al Viro
2025-06-23 4:54 ` [PATCH v2 21/35] attach_recursive_mnt(): pass destination mount in all cases Al Viro
2025-06-23 4:54 ` [PATCH v2 22/35] attach_recursive_mnt(): get rid of flags entirely Al Viro
2025-06-23 4:54 ` [PATCH v2 23/35] do_move_mount(): take dropping the old mountpoint into attach_recursive_mnt() Al Viro
2025-06-23 4:54 ` [PATCH v2 24/35] do_move_mount(): get rid of 'attached' flag Al Viro
2025-06-23 4:54 ` [PATCH v2 25/35] attach_recursive_mnt(): remove from expiry list on move Al Viro
2025-06-23 4:54 ` [PATCH v2 26/35] take ->mnt_expire handling under mount_lock [read_seqlock_excl] Al Viro
2025-06-23 4:54 ` [PATCH v2 27/35] pivot_root(): reorder tree surgeries, collapse unhash_mnt() and put_mountpoint() Al Viro
2025-06-23 4:54 ` [PATCH v2 28/35] combine __put_mountpoint() with unhash_mnt() Al Viro
2025-06-23 4:54 ` [PATCH v2 29/35] get rid of mountpoint->m_count Al Viro
2025-06-23 4:54 ` [PATCH v2 30/35] don't have mounts pin their parents Al Viro
2025-06-23 4:54 ` [PATCH v2 31/35] copy_tree(): don't link the mounts via mnt_list Al Viro
2025-06-23 4:54 ` [PATCH v2 32/35] mount: separate the flags accessed only under namespace_sem Al Viro
2025-06-23 4:54 ` [PATCH v2 33/35] propagate_one(): get rid of dest_master Al Viro
2025-06-23 4:54 ` [PATCH v2 34/35] propagate_mnt(): get rid of globals Al Viro
2025-06-23 4:54 ` [PATCH v2 35/35] take freeing of emptied mnt_namespace to namespace_unlock() Al Viro
2025-06-23 15:10 ` [PATCH v2 01/35] replace collect_mounts()/drop_collected_mounts() with a safer variant Al Viro
2025-06-23 9:06 ` [PATCHES v2][RFC][CFR] mount-related stuff Ian Kent
2025-06-23 18:55 ` Al Viro
2025-06-24 6:48 ` Ian Kent
2025-06-24 7:05 ` Al Viro
2025-06-24 11:03 ` Ian Kent
2025-06-25 7:57 ` Al Viro
2025-06-25 10:58 ` Ian Kent
2025-06-27 3:03 ` Ian Kent
2025-06-30 2:51 ` [PATCHES v3][RFC][CFR] " Al Viro
2025-06-30 2:52 ` [PATCH v3 01/48] attach_mnt(): expand in attach_recursive_mnt(), then lose the flag argument Al Viro
2025-06-30 2:52 ` [PATCH v3 02/48] get rid of mnt_set_mountpoint_beneath() Al Viro
2025-06-30 2:52 ` [PATCH v3 03/48] prevent mount hash conflicts Al Viro
2025-06-30 2:52 ` [PATCH v3 04/48] copy_tree(): don't set ->mnt_mountpoint on the root of copy Al Viro
2025-06-30 2:52 ` [PATCH v3 05/48] constify mnt_has_parent() Al Viro
2025-06-30 2:52 ` [PATCH v3 06/48] pnode: lift peers() into pnode.h Al Viro
2025-06-30 2:52 ` [PATCH v3 07/48] new predicate: mount_is_ancestor() Al Viro
2025-06-30 2:52 ` [PATCH v3 08/48] constify is_local_mountpoint() Al Viro
2025-06-30 2:52 ` [PATCH v3 09/48] new predicate: anon_ns_root(mount) Al Viro
2025-06-30 2:52 ` [PATCH v3 10/48] dissolve_on_fput(): use anon_ns_root() Al Viro
2025-06-30 2:52 ` [PATCH v3 11/48] __attach_mnt(): lose the second argument Al Viro
2025-06-30 2:52 ` [PATCH v3 12/48] don't set MNT_LOCKED on parentless mounts Al Viro
2025-06-30 2:52 ` [PATCH v3 13/48] clone_mnt(): simplify the propagation-related logics Al Viro
2025-06-30 2:52 ` [PATCH v3 14/48] do_umount(): simplify the "is it still mounted" checks Al Viro
2025-06-30 2:52 ` [PATCH v3 15/48] sanitize handling of long-term internal mounts Al Viro
2025-06-30 2:52 ` [PATCH v3 16/48] Rewrite of propagate_umount() Al Viro
2025-06-30 2:52 ` [PATCH v3 17/48] make commit_tree() usable in same-namespace move case Al Viro
2025-06-30 2:52 ` [PATCH v3 18/48] attach_recursive_mnt(): unify the mnt_change_mountpoint() logics Al Viro
2025-06-30 2:52 ` [PATCH v3 19/48] attach_recursive_mnt(): pass destination mount in all cases Al Viro
2025-06-30 2:52 ` [PATCH v3 20/48] attach_recursive_mnt(): get rid of flags entirely Al Viro
2025-06-30 2:52 ` [PATCH v3 21/48] do_move_mount(): take dropping the old mountpoint into attach_recursive_mnt() Al Viro
2025-06-30 2:52 ` [PATCH v3 22/48] do_move_mount(): get rid of 'attached' flag Al Viro
2025-06-30 2:52 ` [PATCH v3 23/48] attach_recursive_mnt(): remove from expiry list on move Al Viro
2025-06-30 2:52 ` [PATCH v3 24/48] take ->mnt_expire handling under mount_lock [read_seqlock_excl] Al Viro
2025-06-30 2:52 ` [PATCH v3 25/48] pivot_root(): reorder tree surgeries, collapse unhash_mnt() and put_mountpoint() Al Viro
2025-06-30 2:52 ` [PATCH v3 26/48] combine __put_mountpoint() with unhash_mnt() Al Viro
2025-06-30 2:52 ` [PATCH v3 27/48] get rid of mountpoint->m_count Al Viro
2025-06-30 2:52 ` [PATCH v3 28/48] don't have mounts pin their parents Al Viro
2025-06-30 2:52 ` [PATCH v3 29/48] mount: separate the flags accessed only under namespace_sem Al Viro
2025-06-30 2:52 ` [PATCH v3 30/48] propagate_one(): get rid of dest_master Al Viro
2025-06-30 2:52 ` [PATCH v3 31/48] propagate_mnt(): handle all peer groups in the same loop Al Viro
2025-06-30 2:52 ` [PATCH v3 32/48] propagate_one(): separate the "do we need secondary here?" logics Al Viro
2025-06-30 2:52 ` [PATCH v3 33/48] propagate_one(): separate the "what should be the master for this copy" part Al Viro
2025-06-30 2:52 ` [PATCH v3 34/48] propagate_one(): fold into the sole caller Al Viro
2025-06-30 2:52 ` [PATCH v3 35/48] fs/pnode.c: get rid of globals Al Viro
2025-06-30 2:52 ` [PATCH v3 36/48] propagate_mnt(): get rid of last_dest Al Viro
2025-06-30 2:52 ` [PATCH v3 37/48] propagate_mnt(): fix comment and convert to kernel-doc, while we are at it Al Viro
2025-06-30 2:52 ` [PATCH v3 38/48] change_mnt_propagation() cleanups, step 1 Al Viro
2025-06-30 2:52 ` [PATCH v3 39/48] change_mnt_propagation(): do_make_slave() is a no-op unless IS_MNT_SHARED() Al Viro
2025-06-30 2:52 ` [PATCH v3 40/48] do_make_slave(): choose new master sanely Al Viro
2025-06-30 2:52 ` [PATCH v3 41/48] turn do_make_slave() into transfer_propagation() Al Viro
2025-06-30 2:52 ` [PATCH v3 42/48] mnt_slave_list/mnt_slave: turn into hlist_head/hlist_node Al Viro
2025-06-30 2:52 ` [PATCH v3 43/48] change_mnt_propagation(): move ->mnt_master assignment into MS_SLAVE case Al Viro
2025-06-30 2:52 ` [PATCH v3 44/48] copy_tree(): don't link the mounts via mnt_list Al Viro
2025-08-13 6:45 ` Lai, Yi
2025-08-13 7:13 ` Al Viro
2025-08-13 7:32 ` Al Viro
2025-08-14 23:21 ` Al Viro
2025-08-14 23:25 ` Al Viro
2025-08-15 3:19 ` Lai, Yi
2025-06-30 2:52 ` [PATCH v3 45/48] take freeing of emptied mnt_namespace to namespace_unlock() Al Viro
2025-06-30 2:52 ` [PATCH v3 46/48] get rid of CL_SHARE_TO_SLAVE Al Viro
2025-06-30 2:52 ` [PATCH v3 47/48] invent_group_ids(): zero ->mnt_group_id always implies !IS_MNT_SHARED() Al Viro
2025-06-30 2:52 ` [PATCH v3 48/48] statmount_mnt_basic(): simplify the logics for group id Al Viro
2025-07-02 19:29 ` [PATCHES v3][RFC][CFR] mount-related stuff Al Viro
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250610082148.1127550-26-viro@zeniv.linux.org.uk \
--to=viro@zeniv.linux.org.uk \
--cc=brauner@kernel.org \
--cc=ebiederm@xmission.com \
--cc=jack@suse.cz \
--cc=linux-fsdevel@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).