diff options
| author | 2026-01-05 19:02:50 +0800 | |
|---|---|---|
| committer | 2026-01-26 13:16:07 +0800 | |
| commit | 2a5d4549a28da76fa426aaeab0a8561bfc6194c3 (patch) | |
| tree | 6da1f975409cfdb9637237da089c8ad6ac9584b2 /include/rdma/ssh:/git@git.zx2c4.com/git: | |
| parent | md/raid1: simplify uptodate handling in end_sync_write (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 'include/rdma/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
