Re: [PATCH] erofs: fix potential return value overflow of z_erofs_shrink_scan()

From: Gao Xiang
Date: Thu Jan 16 2025 - 03:34:02 EST




On 2025/1/16 16:31, Chao Yu wrote:
On 1/14/25 12:00, Gao Xiang wrote:
z_erofs_shrink_scan() could return small numbers due to the mistyped
`freed`.

Although I don't think it has any visible impact.

Agreed, it's an extreme case...

Yeah... also thanks for the review.

Thanks,
Gao Xiang