]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit50b096011cb4396c5f93d4d1f86ec19fb223f5d1
treead0a4f5f256f55ed8115c30823c0c967cbedba13
parentce180ab2e5fc426fe10f2535787c00b27e410a22
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