]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
turn do_make_slave() into transfer_propagation()
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 25 Jun 2025 03:36:43 +0000 (23:36 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 29 Jun 2025 23:03:30 +0000 (19:03 -0400)
commit94a8d0027606397ce58b00077bf6146f25923965
treeeb4e1938f516493393199e444dd995da213b7572
parent955336e204ab59301ff8b1f75a98a226f5a98782
turn do_make_slave() into transfer_propagation()

Lift calculation of replacement propagation source, removal from
peer group and assignment of ->mnt_master from do_make_slave() into
change_mnt_propagation() itself.  What remains is switching of
what used to get propagation *through* mnt to alternative source.
Rename to transfer_propagation(), passing it the replacement source
as the second argument.  Have it return void, while we are at it.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/pnode.c