diff options
| author | 2022-03-11 02:27:42 +0800 | |
|---|---|---|
| committer | 2022-03-17 00:08:48 +0800 | |
| commit | ab474fccd04509db89fde8d3b28c39aa9a47db64 (patch) | |
| tree | f79c58458b64ed05bbb623ea10132efb399782d2 /tools/scripts/ssh:/git@git.zx2c4.com | |
| parent | erofs: silence warnings related to impossible m_plen (diff) | |
| download | linux-dev-ab474fccd04509db89fde8d3b28c39aa9a47db64.tar.xz linux-dev-ab474fccd04509db89fde8d3b28c39aa9a47db64.zip | |
erofs: clean up z_erofs_extent_lookback
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.
Link: https://lore.kernel.org/r/20220310182743.102365-1-hsiangkao@linux.alibaba.com
Reviewed-by: Yue Hu <huyue2@coolpad.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Diffstat (limited to 'tools/scripts/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
