summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-06-26 16:49:20 +0300
committerJens Axboe <axboe@kernel.dk>2019-06-29 18:47:31 +0300
commitb2d0d99135ad145667765cbd27f148c1a4cd50d1 (patch)
treeba7a32c0d97092ac72397f1517d1c29dded717c6 /.clang-format
parent5f2ab0c1c896764ef3b2d01d9e40d138c2bfd791 (diff)
downloadlinux-b2d0d99135ad145667765cbd27f148c1a4cd50d1.tar.xz
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 '.clang-format')
0 files changed, 0 insertions, 0 deletions