Skip to content
Commit d3f76110 authored by Jens Axboe's avatar Jens Axboe
Browse files

bio: get rid of bio_vec clearing



We don't need to clear the memory used for adding bio_vec entries,
since nobody should be looking at members unitialized. Any valid
use should be below bio->bi_vcnt, and that members up until that count
must be valid since they were added through bio_add_page().

Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent f735b5ee
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment