aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/patches-2.6.31/231-union_mounts_bind_fix.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-09-25 20:58:37 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-09-25 20:58:37 +0000
commit2ae19cb459188b7a65872d3a9fbdf9bd4ad57dca (patch)
treec7ccf17b279f38f5aaa024728228a660126337db /target/linux/generic-2.6/patches-2.6.31/231-union_mounts_bind_fix.patch
parent7b676478d1e654f42c929de0fa23b5b3ecef0edf (diff)
downloadupstream-2ae19cb459188b7a65872d3a9fbdf9bd4ad57dca.tar.gz
upstream-2ae19cb459188b7a65872d3a9fbdf9bd4ad57dca.tar.bz2
upstream-2ae19cb459188b7a65872d3a9fbdf9bd4ad57dca.zip
kernel: add a patch for union mounts in 2.6.31
SVN-Revision: 17726
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 0000000000..9a7cae6e7e
--- /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;
+