aboutsummaryrefslogtreecommitdiffstats
path: root/fs/namespace.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/namespace.c')
-rw-r--r--fs/namespace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/namespace.c b/fs/namespace.c
index 88a904d5aa23..c85962206aad 100644
--- a/fs/namespace.c
+++ b/fs/namespace.c
@@ -1253,11 +1253,11 @@ Enomem:
1253 return NULL; 1253 return NULL;
1254} 1254}
1255 1255
1256struct vfsmount *collect_mounts(struct vfsmount *mnt, struct dentry *dentry) 1256struct vfsmount *collect_mounts(struct path *path)
1257{ 1257{
1258 struct vfsmount *tree; 1258 struct vfsmount *tree;
1259 down_write(&namespace_sem); 1259 down_write(&namespace_sem);
1260 tree = copy_tree(mnt, dentry, CL_COPY_ALL | CL_PRIVATE); 1260 tree = copy_tree(path->mnt, path->dentry, CL_COPY_ALL | CL_PRIVATE);
1261 up_write(&namespace_sem); 1261 up_write(&namespace_sem);
1262 return tree; 1262 return tree;
1263} 1263}