From: Jens Axboe Date: Mon, 9 Jan 2006 13:45:10 +0000 (+0100) Subject: [BLOCK] bio: init ->bi_bdev in bio_init() X-Git-Tag: v2.6.16-rc1~675 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ea60b5ad8c3630e8f44c443f173d841be7fc701;p=pandora-kernel.git [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 --- Reading git-diff-tree failed