mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-24 18:16:04 +00:00
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: Jens Axboe <jens.axboe@oracle.com>
This commit is contained in:
parent
f735b5eeb9
commit
d3f761104b
1 changed files with 1 additions and 5 deletions
6
fs/bio.c
6
fs/bio.c
Loading…
Add table
Add a link
Reference in a new issue