]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Aug 2022 12:24:00 +0000 (14:24 +0200)
commit214d071eca14bd4d909081f9e7e1883370da9464
tree924b2ec5fa473a356636476a31123b8ff630e6fd
parent930dff618c293e2a99fcd256536cc1b0f2b0f5fe
block/bio: remove duplicate append pages code

[ Upstream commit 6f5a0eb93d9374a1326d4ed3d0de7b048d3acf45 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
block/bio.c