block: use SECTOR_SHIFT bio_add_hw_page
authorChristoph Hellwig <hch@lst.de>
Mon, 24 Jul 2023 16:54:27 +0000 (09:54 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 25 Jul 2023 01:55:16 +0000 (19:55 -0600)
commit6850b2dd5c25f27f7b74414553f047d4c12dd66c
treecdb131931e54a2383435d0b21532e6ff93e54fff
parentcd1d83e24e689f25de7e34bea697971750138d5f
block: use SECTOR_SHIFT bio_add_hw_page

Use the SECTOR_SHIFT magic constant instead of the magic number.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jinyoung Choi <j-young.choi@samsung.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20230724165433.117645-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bio.c