block/bio: remove duplicate append pages code
authorKeith Busch <kbusch@kernel.org>
Fri, 10 Jun 2022 19:58:21 +0000 (12:58 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 27 Jun 2022 12:29:11 +0000 (06:29 -0600)
commitc58c0074c54c2e2bb3bb0d5a4d8896bb660cc8bc
treebbdec5dd4c9156f28da271a9b9da4fa770c6abee
parentb82d9fa257cb3725c49d94d2aeafc4677c34448a
block/bio: remove duplicate append pages code

The getting pages setup for zone append and normal IO are identical. Use
common code for each.

Signed-off-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20220610195830.3574005-3-kbusch@fb.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bio.c