null_blk: fix softirq completions for queue_mode == 1
authorJens Axboe <axboe@fb.com>
Mon, 16 Jun 2014 17:40:25 +0000 (11:40 -0600)
committerJens Axboe <axboe@fb.com>
Mon, 16 Jun 2014 17:40:25 +0000 (11:40 -0600)
commitd891fa70876b37941a5c5bed813e73beb53ebcf7
tree5dbbaf0e783d42042bd05fff3e2d3fa844d1ba6c
parent95ed068165d8edf6a81f9a73df0bb05c38602c3c
null_blk: fix softirq completions for queue_mode == 1

Only blk-mq completions have payload attached to the request, for
request_fn mode we have stored it in req->special. This fixes an
oops with queue_mode=1 and softirq completions.

Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/null_blk.c