commit | 2763d11912317a12318135ca03e592bb6df65624 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sun Jun 30 19:18:53 2019 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue Jul 16 22:50:11 2019 -0400 |
tree | 1a6c87b01ca0debc003a888b2e4ded3c9c11daeb | |
parent | 4edbe133f851c9e3a2f2a1db367e826b01e72594 [diff] |
get rid of detach_mnt() Lift getting the original mount (dentry is actually not needed at all) of the mountpoint into the callers - to do_move_mount() and pivot_root() level. That simplifies the cleanup in those and allows to get saner arguments for attach_mnt_recursive(). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>