commit | 0ea60b5ad8c3630e8f44c443f173d841be7fc701 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@suse.de> | Mon Jan 09 14:45:10 2006 +0100 |
committer | Jens Axboe <axboe@suse.de> | Mon Jan 09 14:45:10 2006 +0100 |
tree | 9a8d23c797439a03dcccf26678994783d12f1bbb | |
parent | 769db45b73896a88d6b40e3e648dfc50a155ec93 [diff] |
[BLOCK] bio: init ->bi_bdev in bio_init() 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>