diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2009-02-02 10:42:32 +0300 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-02-02 10:42:32 +0300 |
commit | fb8ec18c316d869271137c97320dbfd2def56569 (patch) | |
tree | 8cf6a84747e10f0cf78a1cb73b1ea69681da0d70 /block/blk-settings.c | |
parent | 45c82b5a770be66845687a7d027c8b52946d59af (diff) | |
download | linux-fb8ec18c316d869271137c97320dbfd2def56569.tar.xz |
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 <jens.axboe@oracle.com>
Diffstat (limited to 'block/blk-settings.c')
0 files changed, 0 insertions, 0 deletions