saner umount_tree()/release_mounts(), part 1
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 16 Mar 2013 18:35:16 +0000 (14:35 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 9 Apr 2013 18:12:52 +0000 (14:12 -0400)
commite3197d83d6f5b9bd0e57a05592437ffa459ee106
treead0a4f5f256f55ed8115c30823c0c967cbedba13
parent84d17192d2afd52aeba88c71ae4959a015f56a38
saner umount_tree()/release_mounts(), part 1

global list of release_mounts() fodder, protected by namespace_sem;
eventually, all umount_tree() callers will use it as kill list.
Helper picking the contents of that list, releasing namespace_sem
and doing release_mounts() on what it got.

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