summaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/patches-2.6.31/231-union_mounts_bind_fix.patch
blob: 9a7cae6e7eeea764f9cab1e76f94c55591351c4d (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/fs/namespace.c
+++ b/fs/namespace.c
@@ -1550,7 +1550,7 @@
 	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;