fs: don't forget to put old mntns in mntns_install
authorAndrei Vagin <avagin@openvz.org>
Fri, 9 Jun 2017 00:32:29 +0000 (17:32 -0700)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 15 Jun 2017 10:53:05 +0000 (06:53 -0400)
commit4068367c9ca7b515a209f9c0c8741309a1e90495
treeebc92739af39e349cfdab8bfd839c07499232a90
parent81be24d263dbeddaba35827036d6f6787a59c2c3
fs: don't forget to put old mntns in mntns_install

Fixes: 4f757f3cbf54 ("make sure that mntns_install() doesn't end up with referral for root")
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrei Vagin <avagin@openvz.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namespace.c