diff options
| author | Gao Xiang <hsiangkao@linux.alibaba.com> | 2022-03-11 02:27:42 +0800 |
|---|---|---|
| committer | Gao Xiang <hsiangkao@linux.alibaba.com> | 2022-03-17 00:08:48 +0800 |
| commit | ab474fccd04509db89fde8d3b28c39aa9a47db64 (patch) | |
| tree | f79c58458b64ed05bbb623ea10132efb399782d2 /net/unix/unix_bpf.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/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 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions
