[PATCH] sanitize locking in mark_mounts_for_expiry() and shrink_submounts()
commitbcc5c7d2b692e5319db00b0dd020ce98723103b1
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 22 Mar 2008 04:21:53 +0000 (22 00:21 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 28 Mar 2008 00:47:52 +0000 (27 20:47 -0400)
treee485f36b5e6d8744ea5035b95b497b9dc3ba30db
parent7c4b93d8269b9d35971a8239426b1f6ddc3d5ef7
[PATCH] sanitize locking in mark_mounts_for_expiry() and shrink_submounts()

... and fix a race on access of ->mnt_share et.al. without namespace_sem
in the latter.

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