Previously, roundup(bb->buffers.off % EROFS_BLKSIZ, alignsize) + incr + extrasize is an unsigned 64bit value and sgn(x) didn't work properly. Fix it. Fixes: b0ca535297b6 ("erofs-utils: support 64-bit internal buffer cache") Signed-off-by: Gao Xiang <hsiang...@aol.com> ---
It looks good Reviewed-by: Li Guifu <blucer...@gmail.com> Tested-by: Li Guifu <blucer...@gmail.com> Thanks,