Re: [PATCH] erofs-utils: lib: rearrange struct erofs_configure

2024-11-11 Thread Gao Xiang
On 2024/11/11 17:35, Hongzhen Luo wrote: Move the content defined by the NDEBUG macro to the end. Move the fields controlled by the NDEBUG macro to the end to maintain a consistent layout for preceding variables. It addresses cases where a third-party application defines NDEBUG while erofs-

[PATCH] erofs-utils: lib: rearrange struct erofs_configure

2024-11-11 Thread Hongzhen Luo
Move the content defined by the NDEBUG macro to the end. The reason for doing this is to maintain a consistent layout for all preceding variables when a third-party application defines NDEBUG while erofs-utils does not (by default). Fixes: ad6c80dc168d ("erofs-utils: lib: add erofs_get_configure()