vfs: umount_tree() might be called on subtree that had never made it
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 30 May 2012 02:03:48 +0000 (22:03 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 31 May 2012 01:04:55 +0000 (21:04 -0400)
commit63d37a84ab6004c235314ffd7a76c5eb28c2fae0
treec147b24bd2604b90a872cefd0569cea5ca3ecdd3
parent46ce341b2f176c2611f12ac390adf862e932eb02
vfs: umount_tree() might be called on subtree that had never made it

__mnt_make_shortterm() in there undoes the effect of __mnt_make_longterm()
we'd done back when we set ->mnt_ns non-NULL; it should not be done to
vfsmounts that had never gone through commit_tree() and friends.  Kudos to
lczerner for catching that one...

Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namespace.c