block: fix oops in blk_queue_io_stat()
authorJens Axboe <jens.axboe@oracle.com>
Mon, 2 Feb 2009 07:42:32 +0000 (08:42 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 2 Feb 2009 07:42:32 +0000 (08:42 +0100)
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 <jens.axboe@oracle.com>

No differences found