forward port missing parts of the mtd permission change in whiterussian (and add...
[openwrt/svn-archive/archive.git] / target / linux / generic-2.4 / patches / 010-disable_old_squashfs_compatibility.patch
1 diff -Nur linux-2.4.32/fs/squashfs/Makefile linux-2.4.32-owrt/fs/squashfs/Makefile
2 --- linux-2.4.32/fs/squashfs/Makefile 2006-03-21 13:47:50.000000000 +0100
3 +++ linux-2.4.32-owrt/fs/squashfs/Makefile 2006-03-21 13:48:49.000000000 +0100
4 @@ -4,7 +4,7 @@
5
6 O_TARGET := squashfs.o
7
8 -obj-y := inode.o squashfs2_0.o LzmaDecode.o
9 +obj-y := inode.o LzmaDecode.o
10
11 obj-m := $(O_TARGET)
12
13 diff -Nur linux-2.4.32/fs/squashfs/squashfs.h linux-2.4.32-owrt/fs/squashfs/squashfs.h
14 --- linux-2.4.32/fs/squashfs/squashfs.h 2006-03-21 13:06:10.000000000 +0100
15 +++ linux-2.4.32-owrt/fs/squashfs/squashfs.h 2006-03-21 13:48:36.000000000 +0100
16 @@ -24,6 +24,9 @@
17 #ifdef CONFIG_SQUASHFS_1_0_COMPATIBILITY
18 #undef CONFIG_SQUASHFS_1_0_COMPATIBILITY
19 #endif
20 +#ifdef CONFIG_SQUASHFS_2_0_COMPATIBILITY
21 +#undef CONFIG_SQUASHFS_2_0_COMPATIBILITY
22 +#endif
23 #ifdef SQUASHFS_TRACE
24 #define TRACE(s, args...) printk(KERN_NOTICE "SQUASHFS: "s, ## args)
25 #else