]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd157cd77dfb155b5ec8fb9a6df5d9aaee2fa86fe
tree1a6c87b01ca0debc003a888b2e4ded3c9c11daeb
parent163bd3b240e2638bc3b9a99fba5b2db7959fe638
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