kernel: add a patch for union mounts in 2.6.31

SVN-Revision: 17726
This commit is contained in:
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;