From: Jens Axboe Date: Mon, 2 Feb 2009 07:42:32 +0000 (+0100) Subject: block: fix oops in blk_queue_io_stat() X-Git-Tag: v2.6.29-rc4~73^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb8ec18c316d869271137c97320dbfd2def56569;p=pandora-kernel.git block: fix oops in blk_queue_io_stat() Some initial probe requests don't have disk->queue mapped yet, so we can't rely on a non-NULL queue in blk_queue_io_stat(). Wrap it in blk_do_io_stat(). Signed-off-by: Jens Axboe --- Reading git-diff-tree failed