312b1f6754a4d98ab98378473f4cfd35a9651159
[openwrt.git] / target / linux / generic-2.4 / patches / 010-disable_old_squashfs_compatibility.patch
1 Index: linux-2.4.35.4/fs/squashfs/Makefile
2 ===================================================================
3 --- linux-2.4.35.4.orig/fs/squashfs/Makefile
4 +++ linux-2.4.35.4/fs/squashfs/Makefile
5 @@ -4,7 +4,7 @@
6  
7  O_TARGET := squashfs.o
8  
9 -obj-y  := inode.o squashfs2_0.o LzmaDecode.o
10 +obj-y  := inode.o LzmaDecode.o
11  
12  obj-m := $(O_TARGET)
13  
14 Index: linux-2.4.35.4/fs/squashfs/squashfs.h
15 ===================================================================
16 --- linux-2.4.35.4.orig/fs/squashfs/squashfs.h
17 +++ linux-2.4.35.4/fs/squashfs/squashfs.h
18 @@ -24,6 +24,9 @@
19  #ifdef CONFIG_SQUASHFS_1_0_COMPATIBILITY
20  #undef CONFIG_SQUASHFS_1_0_COMPATIBILITY
21  #endif
22 +#ifdef CONFIG_SQUASHFS_2_0_COMPATIBILITY
23 +#undef CONFIG_SQUASHFS_2_0_COMPATIBILITY
24 +#endif
25  #ifdef SQUASHFS_TRACE
26  #define TRACE(s, args...)      printk(KERN_NOTICE "SQUASHFS: "s, ## args)
27  #else