summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorYu Kuai <yukuai3@huawei.com>2023-05-24 04:41:18 +0300
committerSong Liu <song@kernel.org>2023-05-24 20:44:19 +0300
commit8557dc27126949c702bd3aafe8a7e0b7e4fcb44c (patch)
tree493e064583a5cbaf280647a472a9a881285c0282 /scripts/gdb/linux/utils.py
parent3eb96946f0be6bf447cbdf219aba22bc42672f92 (diff)
downloadlinux-8557dc27126949c702bd3aafe8a7e0b7e4fcb44c.tar.xz
md/raid5: fix miscalculation of 'end_sector' in raid5_read_one_chunk()
'end_sector' is compared to 'rdev->recovery_offset', which is offset to rdev, however, commit e82ed3a4fbb5 ("md/raid6: refactor raid5_read_one_chunk") changes the calculation of 'end_sector' to offset to the array. Fix this miscalculation. Fixes: e82ed3a4fbb5 ("md/raid6: refactor raid5_read_one_chunk") Cc: stable@vger.kernel.org # v5.12+ Signed-off-by: Yu Kuai <yukuai3@huawei.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Song Liu <song@kernel.org> Link: https://lore.kernel.org/r/20230524014118.3172781-1-yukuai1@huaweicloud.com
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions