projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5517c2
)
remove a bogus claim about namespace_sem being held by callers of mnt_alloc_id()
author
Al Viro
<viro@zeniv.linux.org.uk>
Sun, 20 Nov 2016 03:37:03 +0000
(22:37 -0500)
committer
Al 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
patch
|
blob
|
blame
|
history
diff --git
a/fs/namespace.c
b/fs/namespace.c
index e6c234b1a6456c1364bcc06b029f3cc4a155d5bd..a1a04dd1ebfc403a11765dba590eedc34535d21a 100644
(file)
--- 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;