diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2025-04-25 16:53:01 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2025-06-29 18:13:42 -0400 |
commit | e30da2a20e31ab958d41e5a2c764968d95f17b61 (patch) | |
tree | 8f8bb9b880ce1b1b0eb4892b310a5fe8d1a05425 /scripts/lib/kdoc/kdoc_files.py | |
parent | ec3265a245b22f8b8a0b20e04dd1d3f4f4a9ce09 (diff) |
pivot_root(): reorder tree surgeries, collapse unhash_mnt() and put_mountpoint()
attach new_mnt *before* detaching root_mnt; that way we don't need to keep hold
on the mountpoint and one more pair of unhash_mnt()/put_mountpoint() gets
folded together into umount_mnt().
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions