kernel: add a patch for union mounts in 2.6.31

SVN-Revision: 17726
lede-17.01
Felix Fietkau 2009-09-25 20:58:37 +00:00
parent 7b676478d1
commit 2ae19cb459
3 changed files with 5215 additions and 0 deletions

View File

@ -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

File diff suppressed because it is too large Load Diff

View File

@ -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;