commit | d1916c86ccdcb67996278a850a22762102702d85 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Mon Aug 12 17:39:58 2019 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Aug 22 07:14:39 2019 -0600 |
tree | 24d9a2a725af37c66a3b579d95b054fe374d0f1e | |
parent | 384209cd5b93a926321fafe880ed05b1bca97260 [diff] |
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>