]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - fs/pnode.c
vfs: spread struct mount mnt_set_mountpoint child argument
[mirror_ubuntu-artful-kernel.git] / fs / pnode.c
index 5d79f38e3e8a3f7f3ee3160bf6d5a7a49d9f4635..89ea50dc2af3992f7d00d49af9519e163c94a6e2 100644 (file)
@@ -246,7 +246,7 @@ int propagate_mnt(struct vfsmount *dest_mnt, struct dentry *dest_dentry,
                }
 
                if (is_subdir(dest_dentry, m->mnt_root)) {
-                       mnt_set_mountpoint(m, dest_dentry, &child->mnt);
+                       mnt_set_mountpoint(m, dest_dentry, child);
                        list_add_tail(&child->mnt_hash, tree_list);
                } else {
                        /*