diff options
| author | 2025-04-25 17:24:10 -0400 | |
|---|---|---|
| committer | 2025-06-29 18:13:42 -0400 | |
| commit | 86f63980964b334ad49d5c1f132f3b9491303a15 (patch) | |
| tree | 729da1ed821560b8753db4f6a5b4f4546425dd55 /include/uapi/linux/byteorder/ssh:/git@git.zx2c4.com | |
| parent | pivot_root(): reorder tree surgeries, collapse unhash_mnt() and put_mountpoint() (diff) | |
combine __put_mountpoint() with unhash_mnt()
A call of unhash_mnt() is immediately followed by passing its return
value to __put_mountpoint(); the shrink list given to __put_mountpoint()
will be ex_mountpoints when called from umount_mnt() and list when called
from mntput_no_expire().
Replace with __umount_mnt(mount, shrink_list), moving the call of
__put_mountpoint() into it (and returning nothing), adjust the
callers.
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/uapi/linux/byteorder/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
