On 2023/5/31 04:24, Kelvin Zhang wrote:
Signed-off-by: Kelvin Zhang <[email protected]>
---
  include/erofs/internal.h | 2 ++
  1 file changed, 2 insertions(+)

diff --git a/include/erofs/internal.h b/include/erofs/internal.h
index b3d04be..6eba35d 100644
--- a/include/erofs/internal.h
+++ b/include/erofs/internal.h
@@ -35,7 +35,9 @@ typedef unsigned short umode_t;
  #define PAGE_SIZE             (1U << PAGE_SHIFT)
  #endif
+#ifndef EROFS_MAX_BLOCK_SIZE
  #define EROFS_MAX_BLOCK_SIZE  PAGE_SIZE
+#endif

I have to make a configure.ac for this stuff...

Thanks,
Gao Xiang

#define EROFS_ISLOTBITS 5
  #define EROFS_SLOTSIZE                (1U << EROFS_ISLOTBITS)

Reply via email to