Re: [PATCH 1/2] erofs: clean up z_erofs_extent_lookback

From: Chao Yu
Date: Tue Mar 15 2022 - 05:08:48 EST


On 2022/3/11 2:27, Gao Xiang wrote:
Avoid the unnecessary tail recursion since it can be converted into
a loop directly in order to prevent potential stack overflow.

It's a pretty straightforward conversion.

Signed-off-by: Gao Xiang <hsiangkao@xxxxxxxxxxxxxxxxx>

Reviewed-by: Chao Yu <chao@xxxxxxxxxx>

Thanks,