remove a bogus claim about namespace_sem being held by callers of mnt_alloc_id()
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 20 Nov 2016 03:37:03 +0000 (22:37 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 16 Dec 2016 21:30:48 +0000 (16:30 -0500)
Hadn't been true for quite a while

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

index e6c234b1a6456c1364bcc06b029f3cc4a155d5bd..a1a04dd1ebfc403a11765dba590eedc34535d21a 100644 (file)
@@ -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;