vfs: spread struct mount - clone_mnt/copy_tree argument
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user