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 <[email protected]>
---

It looks good
Reviewed-by: Li Guifu <[email protected]>
Tested-by: Li Guifu <[email protected]>

Thanks,

Reply via email to