]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4dc94a7e0fc1f26a77a8d31bd784618ad7206d27
tree5dbbaf0e783d42042bd05fff3e2d3fa844d1ba6c
parent54a60008389d268e58ab3199de33eb47a630d22e
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