diff options
author | Gao Xiang <[email protected]> | 2022-03-11 02:27:42 +0800 |
---|---|---|
committer | Gao Xiang <[email protected]> | 2022-03-17 00:08:48 +0800 |
commit | ab474fccd04509db89fde8d3b28c39aa9a47db64 (patch) | |
tree | f79c58458b64ed05bbb623ea10132efb399782d2 /lib/test_fortify/write_overflow-memcpy.c | |
parent | d467e980d0239fd95cc93b0995199973624a4825 (diff) |
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/[email protected]
Reviewed-by: Yue Hu <[email protected]>
Reviewed-by: Chao Yu <[email protected]>
Signed-off-by: Gao Xiang <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions