kernel: add a patch for union mounts in 2.6.31

SVN-Revision: 17726
master
Felix Fietkau 15 years ago
parent 7b676478d1
commit 2ae19cb459
  1. 1
      target/linux/generic-2.6/config-2.6.31
  2. 5203
      target/linux/generic-2.6/patches-2.6.31/230-union_mounts.patch
  3. 11
      target/linux/generic-2.6/patches-2.6.31/231-union_mounts_bind_fix.patch

@ -2067,6 +2067,7 @@ CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
# CONFIG_UIO is not set
# CONFIG_ULTRIX_PARTITION is not set
# CONFIG_UNEVICTABLE_LRU is not set
# CONFIG_UNION_MOUNT is not set
CONFIG_UNIX98_PTYS=y
# CONFIG_UNIXWARE_DISKLABEL is not set
CONFIG_UNIX=y

@ -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;
Loading…
Cancel
Save