move the lzma decompressor out of squashfs-lzma patch and into a new patch (i want...
[openwrt-10.03/.git] / target / linux / generic-2.6 / patches / 010-disable_old_squashfs_compatibility.patch
1 diff -urN linux-2.6.19.old/fs/squashfs/Makefile linux-2.6.19.dev/fs/squashfs/Makefile
2 --- linux-2.6.19.old/fs/squashfs/Makefile       2006-12-14 03:13:22.000000000 +0100
3 +++ linux-2.6.19.dev/fs/squashfs/Makefile       2006-12-14 03:13:31.000000000 +0100
4 @@ -4,4 +4,3 @@
5  
6  obj-$(CONFIG_SQUASHFS) += squashfs.o
7  squashfs-y += inode.o
8 -squashfs-y += squashfs2_0.o
9 diff -urN linux-2.6.19.old/fs/squashfs/squashfs.h linux-2.6.19.dev/fs/squashfs/squashfs.h
10 --- linux-2.6.19.old/fs/squashfs/squashfs.h     2006-12-14 03:13:20.000000000 +0100
11 +++ linux-2.6.19.dev/fs/squashfs/squashfs.h     2006-12-14 03:13:31.000000000 +0100
12 @@ -24,6 +24,9 @@
13  #ifdef CONFIG_SQUASHFS_1_0_COMPATIBILITY
14  #undef CONFIG_SQUASHFS_1_0_COMPATIBILITY
15  #endif
16 +#ifdef CONFIG_SQUASHFS_2_0_COMPATIBILITY
17 +#undef CONFIG_SQUASHFS_2_0_COMPATIBILITY
18 +#endif
19  
20  #ifdef SQUASHFS_TRACE
21  #define TRACE(s, args...)      printk(KERN_NOTICE "SQUASHFS: "s, ## args)