diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2009-04-18 07:28:19 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2009-06-12 01:36:01 (GMT) |
commit | 589ff870ed60a9ebdd5ec99ec3f5afe1282fe151 (patch) | |
tree | a628f8db3bd587df6e2a918216aa64946b506e6f /fs | |
parent | bab77ebf51e3902f608ecf08c9d34a0a52ac35a9 (diff) | |
download | linux-fsl-qoriq-589ff870ed60a9ebdd5ec99ec3f5afe1282fe151.tar.xz |
Switch collect_mounts() to struct path
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/namespace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/namespace.c b/fs/namespace.c index 88a904d..c859622 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -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; } |