add patch for including unpartitioned space in the rootfs partition for redboot devic...
[openwrt/svn-archive/archive.git] / target / linux / generic-2.6 / patches-2.6.23 / 010-disable_old_squashfs_compatibility.patch
1 Index: linux-2.6.23-rc6/fs/squashfs/Makefile
2 ===================================================================
3 --- linux-2.6.23-rc6.orig/fs/squashfs/Makefile 2007-09-21 16:23:55.000000000 +0800
4 +++ linux-2.6.23-rc6/fs/squashfs/Makefile 2007-09-21 16:23:58.000000000 +0800
5 @@ -4,4 +4,3 @@
6
7 obj-$(CONFIG_SQUASHFS) += squashfs.o
8 squashfs-y += inode.o
9 -squashfs-y += squashfs2_0.o
10 Index: linux-2.6.23-rc6/fs/squashfs/squashfs.h
11 ===================================================================
12 --- linux-2.6.23-rc6.orig/fs/squashfs/squashfs.h 2007-09-21 16:23:55.000000000 +0800
13 +++ linux-2.6.23-rc6/fs/squashfs/squashfs.h 2007-09-21 16:23:58.000000000 +0800
14 @@ -24,6 +24,9 @@
15 #ifdef CONFIG_SQUASHFS_1_0_COMPATIBILITY
16 #undef CONFIG_SQUASHFS_1_0_COMPATIBILITY
17 #endif
18 +#ifdef CONFIG_SQUASHFS_2_0_COMPATIBILITY
19 +#undef CONFIG_SQUASHFS_2_0_COMPATIBILITY
20 +#endif
21
22 #ifdef SQUASHFS_TRACE
23 #define TRACE(s, args...) printk(KERN_NOTICE "SQUASHFS: "s, ## args)