mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 23:21:46 +00:00
Switch collect_mounts() to struct path
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
bab77ebf51
commit
589ff870ed
3 changed files with 6 additions and 6 deletions
|
@ -1253,11 +1253,11 @@ Enomem:
|
|||
return NULL;
|
||||
}
|
||||
|
||||
struct vfsmount *collect_mounts(struct vfsmount *mnt, struct dentry *dentry)
|
||||
struct vfsmount *collect_mounts(struct path *path)
|
||||
{
|
||||
struct vfsmount *tree;
|
||||
down_write(&namespace_sem);
|
||||
tree = copy_tree(mnt, dentry, CL_COPY_ALL | CL_PRIVATE);
|
||||
tree = copy_tree(path->mnt, path->dentry, CL_COPY_ALL | CL_PRIVATE);
|
||||
up_write(&namespace_sem);
|
||||
return tree;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue