[BLOCK] bio: init ->bi_bdev in bio_init()
authorJens Axboe <axboe@suse.de>
Mon, 9 Jan 2006 13:45:10 +0000 (14:45 +0100)
committerJens Axboe <axboe@suse.de>
Mon, 9 Jan 2006 13:45:10 +0000 (14:45 +0100)
For SG_IO requests, bio->bi_bdev may not be explicitly initialized. So make
bio_init() clear the field to make sure it's always NULL or valid.

Signed-off-by: Jens Axboe <axboe@suse.de>

No differences found