summaryrefslogtreecommitdiffstats
path: root/security/security.c
diff options
context:
space:
mode:
authorAl Viro2008-03-22 21:19:49 +0100
committerAl Viro2008-04-22 05:11:09 +0200
commit1a60a280778ff90270fc7390d9ec102f713a5a29 (patch)
tree988cb5b1446ecc298aee4771b0768d777165226c /security/security.c
parent[PATCH] move a bunch of declarations to fs/internal.h (diff)
downloadkernel-qcow2-linux-1a60a280778ff90270fc7390d9ec102f713a5a29.tar.gz
kernel-qcow2-linux-1a60a280778ff90270fc7390d9ec102f713a5a29.tar.xz
kernel-qcow2-linux-1a60a280778ff90270fc7390d9ec102f713a5a29.zip
[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>
Diffstat (limited to 'security/security.c')
0 files changed, 0 insertions, 0 deletions