finally move buildroot-ng to trunk
[openwrt/openwrt.git] / target / linux / generic-2.6 / patches / 010-disable_old_squashfs_compatibility.patch
1 diff -Nur linux-2.6.16/fs/squashfs/Makefile linux-2.6.16-owrt/fs/squashfs/Makefile
2 --- linux-2.6.16/fs/squashfs/Makefile 2006-03-21 13:50:31.000000000 +0100
3 +++ linux-2.6.16-owrt/fs/squashfs/Makefile 2006-03-21 13:51:09.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 -Nur linux-2.6.16/fs/squashfs/squashfs.h linux-2.6.16-owrt/fs/squashfs/squashfs.h
11 --- linux-2.6.16/fs/squashfs/squashfs.h 2006-03-21 10:55:59.000000000 +0100
12 +++ linux-2.6.16-owrt/fs/squashfs/squashfs.h 2006-03-21 13:50:58.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)