OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
085e83f
)
finish_automount() doesn't need vfsmount_lock for removal from expiry list
author
Al Viro
<viro@zeniv.linux.org.uk>
Sun, 29 Sep 2013 00:29:00 +0000
(20:29 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Fri, 25 Oct 2013 03:34:57 +0000
(23:34 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namespace.c
patch
|
blob
|
history
diff --git
a/fs/namespace.c
b/fs/namespace.c
index
cd7dbab
..
f57117d
100644
(file)
--- a/
fs/namespace.c
+++ b/
fs/namespace.c
@@
-2064,9
+2064,7
@@
fail:
/* remove m from any expiration list it may be on */
if (!list_empty(&mnt->mnt_expire)) {
namespace_lock();
- br_write_lock(&vfsmount_lock);
list_del_init(&mnt->mnt_expire);
- br_write_unlock(&vfsmount_lock);
namespace_unlock();
}
mntput(m);