null_blk: use blk_complete_request and blk_mq_complete_request
authorChristoph Hellwig <hch@lst.de>
Thu, 26 Jun 2014 16:03:06 +0000 (10:03 -0600)
committerJens Axboe <axboe@fb.com>
Mon, 30 Mar 2015 18:54:44 +0000 (12:54 -0600)
commit8fdd30e7f6a8326fb1525bcaf131fdc0c243835a
tree8b1d4eebb82a436edb769d5c5d48af1d877018a3
parent805c93964973513853b8f0ebcbcd89db1987bbfb
null_blk: use blk_complete_request and blk_mq_complete_request

Use the block layer helpers for CPU-local completions instead of
reimplementing them locally.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/null_blk.c