mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-04-01 12:04:08 +00:00
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>
This commit is contained in:
parent
e5517c2a5a
commit
f4cc1c3810
1 changed files with 0 additions and 4 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue