diff options
| author | 2006-01-09 14:45:10 +0100 | |
|---|---|---|
| committer | 2006-01-09 14:45:10 +0100 | |
| commit | 0ea60b5ad8c3630e8f44c443f173d841be7fc701 (patch) | |
| tree | 9a8d23c797439a03dcccf26678994783d12f1bbb /include/linux/blkdev.h | |
| parent | make elv_try_merge() static, kill the dead declaration of (diff) | |
| download | linux-dev-0ea60b5ad8c3630e8f44c443f173d841be7fc701.tar.xz linux-dev-0ea60b5ad8c3630e8f44c443f173d841be7fc701.zip | |
[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>
Diffstat (limited to 'include/linux/blkdev.h')
0 files changed, 0 insertions, 0 deletions
