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
aa0a4cf0
Commit
aa0a4cf0
authored
Nov 24, 2011
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vfs: dentry_reset_mounted() doesn't use vfsmount argument
lose it Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
6c449c8d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
fs/namespace.c
fs/namespace.c
+3
-3
No files found.
fs/namespace.c
View file @
aa0a4cf0
...
...
@@ -523,7 +523,7 @@ static void __touch_mnt_namespace(struct mnt_namespace *ns)
* Clear dentry's mounted state if it has no remaining mounts.
* vfsmount_lock must be held for write.
*/
static
void
dentry_reset_mounted
(
struct
vfsmount
*
mnt
,
struct
dentry
*
dentry
)
static
void
dentry_reset_mounted
(
struct
dentry
*
dentry
)
{
unsigned
u
;
...
...
@@ -551,7 +551,7 @@ static void detach_mnt(struct vfsmount *mnt, struct path *old_path)
mnt
->
mnt_mountpoint
=
mnt
->
mnt_root
;
list_del_init
(
&
mnt
->
mnt_child
);
list_del_init
(
&
mnt
->
mnt_hash
);
dentry_reset_mounted
(
old_path
->
mnt
,
old_path
->
dentry
);
dentry_reset_mounted
(
old_path
->
dentry
);
}
/*
...
...
@@ -1224,7 +1224,7 @@ void umount_tree(struct vfsmount *mnt, int propagate, struct list_head *kill)
list_del_init
(
&
p
->
mnt_child
);
if
(
mnt_has_parent
(
p
))
{
p
->
mnt_parent
->
mnt_ghosts
++
;
dentry_reset_mounted
(
p
->
mnt_
parent
,
p
->
mnt_
mountpoint
);
dentry_reset_mounted
(
p
->
mnt_mountpoint
);
}
change_mnt_propagation
(
p
,
MS_PRIVATE
);
}
...
...
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