瀏覽代碼

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>
Al Viro 8 年之前
父節點
當前提交
f4cc1c3810
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      fs/namespace.c

+ 0 - 4
fs/namespace.c

@@ -96,10 +96,6 @@ static inline struct hlist_head *mp_hash(struct dentry *dentry)
 	return &mountpoint_hashtable[tmp & mp_hash_mask];
 	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)
 static int mnt_alloc_id(struct mount *mnt)
 {
 {
 	int res;
 	int res;