Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f4cc1c38 authored by Al Viro's avatar Al Viro
Browse files

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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent e5517c2a
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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;