prepare for the transition to linux 2.6.22 - make it possible to override the kernel...
[openwrt/svn-archive/archive.git] / target / linux / generic-2.6 / patches-2.6.22 / 010-disable_old_squashfs_compatibility.patch
1 diff -urN linux-2.6.21.1.old/fs/squashfs/Makefile linux-2.6.21.1.dev/fs/squashfs/Makefile
2 --- linux-2.6.21.1.old/fs/squashfs/Makefile 2007-05-26 19:03:45.499713896 +0200
3 +++ linux-2.6.21.1.dev/fs/squashfs/Makefile 2007-05-26 19:43:37.064140840 +0200
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.21.1.old/fs/squashfs/squashfs.h linux-2.6.21.1.dev/fs/squashfs/squashfs.h
10 --- linux-2.6.21.1.old/fs/squashfs/squashfs.h 2007-05-26 19:03:45.500713744 +0200
11 +++ linux-2.6.21.1.dev/fs/squashfs/squashfs.h 2007-05-26 19:43:37.075139168 +0200
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)