]> git.baikalelectronics.ru Git - kernel.git/commit
block: move same page handling from __bio_add_pc_page to the callers
authorChristoph Hellwig <hch@lst.de>
Mon, 12 Aug 2019 15:39:58 +0000 (17:39 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 22 Aug 2019 13:14:39 +0000 (07:14 -0600)
commit998d0d82da3cddb17af437a1370cfbe2cd859023
tree24d9a2a725af37c66a3b579d95b054fe374d0f1e
parenta303ecaea93f10f29b7c4c316ddfe582f87307e2
block: move same page handling from __bio_add_pc_page to the callers

Hiding page refcount manipulation inside a low-level bio helper is
somewhat awkward.  Instead return the same page information to the
callers, where it fits in much better.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bio.c