kernel: add a patch for union mounts in 2.6.31
SVN-Revision: 17726
This commit is contained in:
parent
7b676478d1
commit
2ae19cb459
3 changed files with 5215 additions and 0 deletions
|
@ -2067,6 +2067,7 @@ CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
|
||||||
# CONFIG_UIO is not set
|
# CONFIG_UIO is not set
|
||||||
# CONFIG_ULTRIX_PARTITION is not set
|
# CONFIG_ULTRIX_PARTITION is not set
|
||||||
# CONFIG_UNEVICTABLE_LRU is not set
|
# CONFIG_UNEVICTABLE_LRU is not set
|
||||||
|
# CONFIG_UNION_MOUNT is not set
|
||||||
CONFIG_UNIX98_PTYS=y
|
CONFIG_UNIX98_PTYS=y
|
||||||
# CONFIG_UNIXWARE_DISKLABEL is not set
|
# CONFIG_UNIXWARE_DISKLABEL is not set
|
||||||
CONFIG_UNIX=y
|
CONFIG_UNIX=y
|
||||||
|
|
5203
target/linux/generic-2.6/patches-2.6.31/230-union_mounts.patch
Normal file
5203
target/linux/generic-2.6/patches-2.6.31/230-union_mounts.patch
Normal file
File diff suppressed because it is too large
Load diff
|
@ -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…
Reference in a new issue