aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/patches-2.6.32/231-union_mounts_bind_fix.patch
blob: 4bd3f735153edda790c2af4c93fc168de1d92d7c (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/fs/namespace.c
+++ b/fs/namespace.c
@@ -1550,7 +1550,7 @@ static int do_loopback(struct path *path
 	if (!mnt)
 		goto out;
 
-	err = check_union_mnt(&old_path, mnt, mnt_flags);
+	err = check_union_mnt(path, mnt, mnt_flags);
 	if (err)
 		goto out;