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
 
 #define EROFS_ISLOTBITS                5
 #define EROFS_SLOTSIZE         (1U << EROFS_ISLOTBITS)
-- 
2.41.0.rc0.172.g3f132b7071-goog

Reply via email to