remove 2.6.25 support
[openwrt/staging/chunkeey.git] / target / linux / generic / patches-2.6.25 / 010-disable_old_squashfs_compatibility.patch
1 --- a/fs/squashfs/Makefile
2 +++ b/fs/squashfs/Makefile
3 @@ -4,4 +4,3 @@
4
5 obj-$(CONFIG_SQUASHFS) += squashfs.o
6 squashfs-y += inode.o
7 -squashfs-y += squashfs2_0.o
8 --- a/fs/squashfs/squashfs.h
9 +++ b/fs/squashfs/squashfs.h
10 @@ -24,6 +24,9 @@
11 #ifdef CONFIG_SQUASHFS_1_0_COMPATIBILITY
12 #undef CONFIG_SQUASHFS_1_0_COMPATIBILITY
13 #endif
14 +#ifdef CONFIG_SQUASHFS_2_0_COMPATIBILITY
15 +#undef CONFIG_SQUASHFS_2_0_COMPATIBILITY
16 +#endif
17
18 #ifdef SQUASHFS_TRACE
19 #define TRACE(s, args...) printk(KERN_NOTICE "SQUASHFS: "s, ## args)