may_umount() needs namespace_sem
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 16 Jan 2010 17:56:08 +0000 (12:56 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 16 Jan 2010 17:56:08 +0000 (12:56 -0500)
commit8ad08d8a0c3823e9b06ef84c362c9361be323d2d
tree14b02283f72d5f1345af0cd8c0f305306f6925a6
parent9b6e31021122babe3b3a67b102479f740928b5eb
may_umount() needs namespace_sem

otherwise it races with clone_mnt() changing mnt_share/mnt_slaves

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