attach_recursive_mnt(): remove from expiry list on move
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 1 May 2025 23:59:30 +0000 (19:59 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 29 Jun 2025 22:13:42 +0000 (18:13 -0400)
commita8c764e1a580c2128e905ad6e42beef413fb7177
tree84ecb0a8e402626596767ea5449ee80d4fd625a5
parentee1ee33ccc1ba0620a77833b2a3e320588701217
attach_recursive_mnt(): remove from expiry list on move

... rather than doing that in do_move_mount().  That's the main
obstacle to moving the protection of ->mnt_expire from namespace_sem
to mount_lock (spinlock-only), which would simplify several failure
exits.

Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namespace.c