summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-06-15 08:48:36 +0200
committerSong Liu <song@kernel.org>2023-07-27 00:13:29 -0700
commit0c3ea5cc8fbdc3515cfb0c47f5a284882f5e4d80 (patch)
tree486eef8c48aebc6961894144acce3fa9ab286346 /arch
parent844dc6691ad5f53a624f4b07bf84037abbb8fce2 (diff)
md-bitmap: cleanup read_sb_page
Convert read_sb_page to the normal kernel coding style, calculate the target sector only once, and add a local iosize variable to make the call to sync_page_io more readable. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com> Signed-off-by: Song Liu <song@kernel.org> Link: https://lore.kernel.org/r/20230615064840.629492-8-hch@lst.de
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions