diff options
author | Christoph Hellwig <hch@lst.de> | 2019-04-11 08:23:28 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-04-12 17:06:37 +0200 |
commit | a10584c3cda9cbb1a1ccd072783bfd625f99e40d (patch) | |
tree | 812ccc3a2f7ea4d998d9c71a60d94a61abe891a2 /block/Makefile | |
parent | block: rewrite blk_bvec_map_sg to avoid a nth_page call (diff) | |
download | linux-a10584c3cda9cbb1a1ccd072783bfd625f99e40d.tar.xz linux-a10584c3cda9cbb1a1ccd072783bfd625f99e40d.zip |
block: refactor __bio_iov_bvec_add_pages
Return early on error, and add an unlikely annotation for that case.
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions