Home
last modified time | relevance | path

Searched hist:"1 a60a280" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/
H A Dnamespace.c1a60a280 Sat Mar 22 15:19:49 CDT 2008 Al Viro <viro@zeniv.linux.org.uk> [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 <viro@zeniv.linux.org.uk>
1a60a280 Sat Mar 22 15:19:49 CDT 2008 Al Viro <viro@zeniv.linux.org.uk> [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 <viro@zeniv.linux.org.uk>