get rid of detach_mnt()
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 30 Jun 2019 23:18:53 +0000 (19:18 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 17 Jul 2019 02:50:11 +0000 (22:50 -0400)
commit2763d11912317a12318135ca03e592bb6df65624
tree1a6c87b01ca0debc003a888b2e4ded3c9c11daeb
parent4edbe133f851c9e3a2f2a1db367e826b01e72594
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>
fs/namespace.c