Commit 0ea60b5ad8c3630e8f44c443f173d841be7fc701
1 parent
769db45b73
Exists in
master
and in
7 other branches
[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>
Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff