010-disable_old_squashfs_compatibility.patch 848 B

123456789101112131415161718192021222324252627
  1. Index: linux-2.4.35.4/fs/squashfs/Makefile
  2. ===================================================================
  3. --- linux-2.4.35.4.orig/fs/squashfs/Makefile
  4. +++ linux-2.4.35.4/fs/squashfs/Makefile
  5. @@ -4,7 +4,7 @@
  6. O_TARGET := squashfs.o
  7. -obj-y := inode.o squashfs2_0.o LzmaDecode.o
  8. +obj-y := inode.o LzmaDecode.o
  9. obj-m := $(O_TARGET)
  10. Index: linux-2.4.35.4/fs/squashfs/squashfs.h
  11. ===================================================================
  12. --- linux-2.4.35.4.orig/fs/squashfs/squashfs.h
  13. +++ linux-2.4.35.4/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