Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
22a79192
Commit
22a79192
authored
Sep 28, 2013
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
finish_automount() doesn't need vfsmount_lock for removal from expiry list
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
085e83ff
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
fs/namespace.c
fs/namespace.c
+0
-2
No files found.
fs/namespace.c
View file @
22a79192
...
@@ -2064,9 +2064,7 @@ int finish_automount(struct vfsmount *m, struct path *path)
...
@@ -2064,9 +2064,7 @@ int finish_automount(struct vfsmount *m, struct path *path)
/* remove m from any expiration list it may be on */
/* remove m from any expiration list it may be on */
if
(
!
list_empty
(
&
mnt
->
mnt_expire
))
{
if
(
!
list_empty
(
&
mnt
->
mnt_expire
))
{
namespace_lock
();
namespace_lock
();
br_write_lock
(
&
vfsmount_lock
);
list_del_init
(
&
mnt
->
mnt_expire
);
list_del_init
(
&
mnt
->
mnt_expire
);
br_write_unlock
(
&
vfsmount_lock
);
namespace_unlock
();
namespace_unlock
();
}
}
mntput
(
m
);
mntput
(
m
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment