diff options
author | Christoph Hellwig <hch@lst.de> | 2023-06-15 08:48:37 +0200 |
---|---|---|
committer | Song Liu <song@kernel.org> | 2023-07-27 09:13:29 +0200 |
commit | f5f2d5ac9f6e807e080311ec36bdf3d6c45b40d4 (patch) | |
tree | 33fd5f8082114e619bf2461b12b00f993334f349 /certs/system_certificates.S | |
parent | md-bitmap: cleanup read_sb_page (diff) | |
download | linux-f5f2d5ac9f6e807e080311ec36bdf3d6c45b40d4.tar.xz linux-f5f2d5ac9f6e807e080311ec36bdf3d6c45b40d4.zip |
md-bitmap: account for mddev->bitmap_info.offset in read_sb_page
Diretly apply mddev->bitmap_info.offset to the sector number to read
instead of doing that in both callers.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20230615064840.629492-9-hch@lst.de
Diffstat (limited to 'certs/system_certificates.S')
0 files changed, 0 insertions, 0 deletions