diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-11-25 03:24:27 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-04 04:57:03 +0100 |
commit | 87129cc0e3fcd89a1db3e99d62dc710e05749f77 (patch) | |
tree | 0855a81e51db9f4054d54952f974bc726730f39d /fs/pnode.c | |
parent | vfs: spread struct mount - shrink_submounts/select_submounts (diff) | |
download | linux-87129cc0e3fcd89a1db3e99d62dc710e05749f77.tar.xz linux-87129cc0e3fcd89a1db3e99d62dc710e05749f77.zip |
vfs: spread struct mount - clone_mnt/copy_tree argument
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/pnode.c')
-rw-r--r-- | fs/pnode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/pnode.c b/fs/pnode.c index efbe0c0d3f0d..5d79f38e3e8a 100644 --- a/fs/pnode.c +++ b/fs/pnode.c @@ -239,7 +239,7 @@ int propagate_mnt(struct vfsmount *dest_mnt, struct dentry *dest_dentry, source = get_source(m, prev_dest_mnt, prev_src_mnt, &type); - if (!(child = copy_tree(source, source->mnt_root, type))) { + if (!(child = copy_tree(real_mount(source), source->mnt_root, type))) { ret = -ENOMEM; list_splice(tree_list, tmp_list.prev); goto out; |