summaryrefslogtreecommitdiffstats
path: root/LICENSES
diff options
context:
space:
mode:
authorChristoph Hellwig2019-06-26 15:49:20 +0200
committerJens Axboe2019-06-29 17:47:31 +0200
commitb2d0d99135ad145667765cbd27f148c1a4cd50d1 (patch)
treeba7a32c0d97092ac72397f1517d1c29dded717c6 /LICENSES
parentblock: skd_main.c: Remove call to memset after dma_alloc_coherent (diff)
downloadkernel-qcow2-linux-b2d0d99135ad145667765cbd27f148c1a4cd50d1.tar.gz
kernel-qcow2-linux-b2d0d99135ad145667765cbd27f148c1a4cd50d1.tar.xz
kernel-qcow2-linux-b2d0d99135ad145667765cbd27f148c1a4cd50d1.zip
block: move the BIO_NO_PAGE_REF check into bio_release_pages
Move the BIO_NO_PAGE_REF check into bio_release_pages instead of duplicating it in both callers. Also make the function available outside of bio.c so that we can reuse it in other direct I/O implementations. Reviewed-by: Minwoo Im <minwoo.im.dev@gmail.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions