010-disable_old_squashfs_compatibility.patch 517 B

12345678910111213141516171819
  1. --- a/fs/squashfs/Makefile
  2. +++ b/fs/squashfs/Makefile
  3. @@ -4,4 +4,3 @@
  4. obj-$(CONFIG_SQUASHFS) += squashfs.o
  5. squashfs-y += inode.o
  6. -squashfs-y += squashfs2_0.o
  7. --- a/fs/squashfs/squashfs.h
  8. +++ b/fs/squashfs/squashfs.h
  9. @@ -24,6 +24,9 @@
  10. #ifdef CONFIG_SQUASHFS_1_0_COMPATIBILITY
  11. #undef CONFIG_SQUASHFS_1_0_COMPATIBILITY
  12. #endif
  13. +#ifdef CONFIG_SQUASHFS_2_0_COMPATIBILITY
  14. +#undef CONFIG_SQUASHFS_2_0_COMPATIBILITY
  15. +#endif
  16. #ifdef SQUASHFS_TRACE
  17. #define TRACE(s, args...) printk(KERN_NOTICE "SQUASHFS: "s, ## args)