summaryrefslogtreecommitdiff
path: root/drivers/soundwire
diff options
context:
space:
mode:
authorYu Kuai <yukuai3@huawei.com>2023-06-21 19:51:05 +0300
committerSong Liu <song@kernel.org>2023-07-27 10:13:29 +0300
commit05048cbccab79e9fb9030274170ccd710fe69474 (patch)
treecf43d5507cdf230caa7a4fd7173583e0a9dab3be /drivers/soundwire
parentc687297b884507a4737b747957eda567063901df (diff)
downloadlinux-05048cbccab79e9fb9030274170ccd710fe69474.tar.xz
raid5: fix missing io accounting in raid5_align_endio()
Io will only be accounted as done from raid5_align_endio() if the io succeeded, and io inflight counter will be leaked if such io failed. Fix this problem by switching to use md_account_bio() for io accounting. Signed-off-by: Yu Kuai <yukuai3@huawei.com> Reviewed-by: Xiao Ni <xni@redhat.com> Signed-off-by: Song Liu <song@kernel.org> Link: https://lore.kernel.org/r/20230621165110.1498313-4-yukuai1@huaweicloud.com
Diffstat (limited to 'drivers/soundwire')
0 files changed, 0 insertions, 0 deletions