diff options
| author | Li Nan <linan122@huawei.com> | 2026-01-05 19:02:50 +0800 |
|---|---|---|
| committer | Yu Kuai <yukuai@fnnas.com> | 2026-01-26 13:16:07 +0800 |
| commit | 2a5d4549a28da76fa426aaeab0a8561bfc6194c3 (patch) | |
| tree | 6da1f975409cfdb9637237da089c8ad6ac9584b2 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 090856dd8599edfc7699d1ad9bf8069b9745b313 (diff) | |
md: factor error handling out of md_done_sync into helper
The 'ok' parameter in md_done_sync() is redundant for most callers that
always pass 'true'. Factor error handling logic into a separate helper
function md_sync_error() to eliminate unnecessary parameter passing and
improve code clarity.
No functional changes introduced.
Link: https://lore.kernel.org/linux-raid/20260105110300.1442509-3-linan666@huaweicloud.com
Signed-off-by: Li Nan <linan122@huawei.com>
Reviewed-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Yu Kuai <yukuai@fnnas.com>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
