summaryrefslogtreecommitdiff
path: root/target/linux/generic-2.6/patches-2.6.24/001-squashfs.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-02-08 19:16:45 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-02-08 19:16:45 +0000
commit09de82989a23c0844422dba103d7534a81cfaeef (patch)
treeb82a2992141db38036a3058645e8dcadfb7385ef /target/linux/generic-2.6/patches-2.6.24/001-squashfs.patch
parent6fbcb132369d914e4a9779f23628490243afe6f6 (diff)
downloadmtk-20170518-09de82989a23c0844422dba103d7534a81cfaeef.zip
mtk-20170518-09de82989a23c0844422dba103d7534a81cfaeef.tar.gz
mtk-20170518-09de82989a23c0844422dba103d7534a81cfaeef.tar.bz2
generic-2.6/2.6.24: refresh patches
SVN-Revision: 14450
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.24/001-squashfs.patch')
-rw-r--r--target/linux/generic-2.6/patches-2.6.24/001-squashfs.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.24/001-squashfs.patch b/target/linux/generic-2.6/patches-2.6.24/001-squashfs.patch
index c535c34..1db4091 100644
--- a/target/linux/generic-2.6/patches-2.6.24/001-squashfs.patch
+++ b/target/linux/generic-2.6/patches-2.6.24/001-squashfs.patch
@@ -1,6 +1,6 @@
--- a/fs/Kconfig
+++ b/fs/Kconfig
-@@ -1405,6 +1405,71 @@
+@@ -1405,6 +1405,71 @@ config CRAMFS
If unsure, say N.
@@ -74,7 +74,7 @@
depends on BLOCK
--- a/fs/Makefile
+++ b/fs/Makefile
-@@ -72,6 +72,7 @@
+@@ -72,6 +72,7 @@ obj-$(CONFIG_JBD) += jbd/
obj-$(CONFIG_JBD2) += jbd2/
obj-$(CONFIG_EXT2_FS) += ext2/
obj-$(CONFIG_CRAMFS) += cramfs/
@@ -4128,7 +4128,7 @@
#include <linux/initrd.h>
#include <linux/string.h>
-@@ -39,6 +40,7 @@
+@@ -39,6 +40,7 @@ static int __init crd_load(int in_fd, in
* numbers could not be found.
*
* We currently check for the following magic numbers:
@@ -4136,7 +4136,7 @@
* minix
* ext2
* romfs
-@@ -53,6 +55,7 @@
+@@ -53,6 +55,7 @@ identify_ramdisk_image(int fd, int start
struct ext2_super_block *ext2sb;
struct romfs_super_block *romfsb;
struct cramfs_super *cramfsb;
@@ -4144,7 +4144,7 @@
int nblocks = -1;
unsigned char *buf;
-@@ -64,6 +67,7 @@
+@@ -64,6 +67,7 @@ identify_ramdisk_image(int fd, int start
ext2sb = (struct ext2_super_block *) buf;
romfsb = (struct romfs_super_block *) buf;
cramfsb = (struct cramfs_super *) buf;
@@ -4152,7 +4152,7 @@
memset(buf, 0xe5, size);
/*
-@@ -101,6 +105,15 @@
+@@ -101,6 +105,15 @@ identify_ramdisk_image(int fd, int start
goto done;
}