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, 30 Mar 2015 18:54:53 +0000 (12:54 -0600)
commit54da3942e1b16ecd465ae91d892d6489b8e5b46b
treec7756a28f91bcc6c084299fca217c205bff6de76
parent323d5cb2cfa51dd61d238c315e09142f97174838
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