commit | a10584c3cda9cbb1a1ccd072783bfd625f99e40d | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu Apr 11 08:23:28 2019 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Apr 12 09:06:37 2019 -0600 |
tree | 812ccc3a2f7ea4d998d9c71a60d94a61abe891a2 | |
parent | 8a96a0e408102fb7aa73d8aa0b5e2219cfd51e55 [diff] |
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>