erofs-utils: more sanity check for buffer allocation optimization

In case that new buffer allocation optimization logic is
potentially broken.

Link: https://lore.kernel.org/r/20210214153549.2454-2-hsiangkao@aol.com
Reviewed-by: Li Guifu <bluce.lee@aliyun.com>
Signed-off-by: Gao Xiang <hsiangkao@aol.com>
1 file changed