summaryrefslogtreecommitdiff
path: root/fs/namespace.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-11-19 22:37:03 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2016-12-16 16:30:48 -0500
commitf4cc1c3810a0382ff76a4e119a21b90b84dbe195 (patch)
treeac6075963f4c24468c1154dc61bb0e681192d090 /fs/namespace.c
parente5517c2a5a49ed5e99047008629f1cd60246ea0e (diff)
downloadlwn-f4cc1c3810a0382ff76a4e119a21b90b84dbe195.tar.gz
lwn-f4cc1c3810a0382ff76a4e119a21b90b84dbe195.zip
remove a bogus claim about namespace_sem being held by callers of mnt_alloc_id()
Hadn't been true for quite a while Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/namespace.c')
-rw-r--r--fs/namespace.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/namespace.c b/fs/namespace.c
index e6c234b1a645..a1a04dd1ebfc 100644
--- a/fs/namespace.c
+++ b/fs/namespace.c
@@ -96,10 +96,6 @@ static inline struct hlist_head *mp_hash(struct dentry *dentry)
return &mountpoint_hashtable[tmp & mp_hash_mask];
}
-/*
- * allocation is serialized by namespace_sem, but we need the spinlock to
- * serialize with freeing.
- */
static int mnt_alloc_id(struct mount *mnt)
{
int res;