[BLOCK] bio: init ->bi_bdev in bio_init()
For SG_IO requests, bio->bi_bdev may not be explicitly initialized. So makebio_init() clear the field to make sure it's always NULL or valid.Signed-off-by: Jens Axboe <axboe@suse.de>
Jens Axboe 20 years ago 0ea60b5a 769db45b