don't drop newmnt on error in do_add_mount()
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 17 Jan 2011 06:41:58 +0000 (01:41 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 17 Jan 2011 06:41:58 +0000 (01:41 -0500)
commit15f9a3f3e199647fe0cac19302c5033cf031372d
tree38a39510439f2913dbdfcfd2de4ffacc8214875d
parent19a167af7c97248ec646552ebc9140bc6aa3552a
don't drop newmnt on error in do_add_mount()

That gets rid of the kludge in finish_automount() - we need
to keep refcount on the vfsmount as-is until we evict it from
expiry list.

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