refresh generic 2.6.25 patches
[openwrt/openwrt.git] / target / linux / generic-2.6 / patches-2.6.25 / 010-disable_old_squashfs_compatibility.patch
1 Index: linux-2.6.25.4/fs/squashfs/Makefile
2 ===================================================================
3 --- linux-2.6.25.4.orig/fs/squashfs/Makefile
4 +++ linux-2.6.25.4/fs/squashfs/Makefile
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.25.4/fs/squashfs/squashfs.h
11 ===================================================================
12 --- linux-2.6.25.4.orig/fs/squashfs/squashfs.h
13 +++ linux-2.6.25.4/fs/squashfs/squashfs.h
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)