]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
bio: get rid of bio_vec clearing
authorJens Axboe <jens.axboe@oracle.com>
Tue, 23 Dec 2008 11:46:21 +0000 (12:46 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 29 Dec 2008 07:29:53 +0000 (08:29 +0100)
commitd3f761104b097738932afcc310fbbbbfb007ef92
tree5acda986824cab2a8c54690258a49df61b898389
parentf735b5eeb9fcbb001e0cf2a5296b19c4bbaec55f
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>
fs/bio.c