From: Al Viro Date: Sat, 22 Mar 2008 20:19:49 +0000 (-0400) Subject: [PATCH] lock exclusively in collect_mounts() and drop_collected_mounts() X-Git-Tag: v2.6.26-rc1~1097^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a60a280778ff90270fc7390d9ec102f713a5a29;p=pandora-kernel.git [PATCH] lock exclusively in collect_mounts() and drop_collected_mounts() Taking namespace_sem shared there isn't worth the trouble, especially with vfsmount ID allocation about to be added. That way we know that umount_tree(), copy_tree() and clone_mnt() are _always_ serialized by namespace_sem. umount_tree() still needs vfsmount_lock (it manipulates hash chains, among other things), but that's a separate story. Signed-off-by: Al Viro --- Reading git-diff-tree failed