[kernel] add patch from #4850 to make hdparm work on usb drivers (#4850)
[openwrt/svn-archive/archive.git] / target / linux / generic-2.4 / patches / 010-disable_old_squashfs_compatibility.patch
1 --- a/fs/squashfs/Makefile
2 +++ b/fs/squashfs/Makefile
3 @@ -4,7 +4,7 @@
4
5 O_TARGET := squashfs.o
6
7 -obj-y := inode.o squashfs2_0.o LzmaDecode.o
8 +obj-y := inode.o LzmaDecode.o
9
10 obj-m := $(O_TARGET)
11
12 --- a/fs/squashfs/squashfs.h
13 +++ b/fs/squashfs/squashfs.h
14 @@ -24,6 +24,9 @@
15 #ifdef CONFIG_SQUASHFS_1_0_COMPATIBILITY
16 #undef CONFIG_SQUASHFS_1_0_COMPATIBILITY
17 #endif
18 +#ifdef CONFIG_SQUASHFS_2_0_COMPATIBILITY
19 +#undef CONFIG_SQUASHFS_2_0_COMPATIBILITY
20 +#endif
21 #ifdef SQUASHFS_TRACE
22 #define TRACE(s, args...) printk(KERN_NOTICE "SQUASHFS: "s, ## args)
23 #else