010-disable_old_squashfs_compatibility.patch 803 B

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