From: Al Viro Date: Sun, 20 Nov 2016 03:37:03 +0000 (-0500) Subject: remove a bogus claim about namespace_sem being held by callers of mnt_alloc_id() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f4cc1c3810a0382ff76a4e119a21b90b84dbe195;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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;