summaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/patches-2.6.31/231-union_mounts_bind_fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.31/231-union_mounts_bind_fix.patch')
-rw-r--r--target/linux/generic-2.6/patches-2.6.31/231-union_mounts_bind_fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.31/231-union_mounts_bind_fix.patch b/target/linux/generic-2.6/patches-2.6.31/231-union_mounts_bind_fix.patch
new file mode 100644
index 000000000..9a7cae6e7
--- /dev/null
+++ b/target/linux/generic-2.6/patches-2.6.31/231-union_mounts_bind_fix.patch
@@ -0,0 +1,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;
+