]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitadbe3c38b2a2c11b78d3ba1122fbef69527f006c
treebbdec5dd4c9156f28da271a9b9da4fa770c6abee
parentc64f58dde80e065d5c129537c3c6c3bdfcd4f71d
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