Upgrade to Linux 2.6.19
[openwrt.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,5 +4,4 @@
5  
6  obj-$(CONFIG_SQUASHFS) += squashfs.o
7  squashfs-y += inode.o
8 -squashfs-y += squashfs2_0.o
9  squashfs-y += LzmaDecode.o
10 diff -urN linux-2.6.19.old/fs/squashfs/squashfs.h linux-2.6.19.dev/fs/squashfs/squashfs.h
11 --- linux-2.6.19.old/fs/squashfs/squashfs.h     2006-12-14 03:13:20.000000000 +0100
12 +++ linux-2.6.19.dev/fs/squashfs/squashfs.h     2006-12-14 03:13:31.000000000 +0100
13 @@ -24,6 +24,9 @@
14  #ifdef CONFIG_SQUASHFS_1_0_COMPATIBILITY
15  #undef CONFIG_SQUASHFS_1_0_COMPATIBILITY
16  #endif
17 +#ifdef CONFIG_SQUASHFS_2_0_COMPATIBILITY
18 +#undef CONFIG_SQUASHFS_2_0_COMPATIBILITY
19 +#endif
20  
21  #ifdef SQUASHFS_TRACE
22  #define TRACE(s, args...)      printk(KERN_NOTICE "SQUASHFS: "s, ## args)