[PATCH 3/3] null_blk: use blk_complete_request and blk_mq_complete_request

2014-02-10 Thread Christoph Hellwig
Use the block layer helpers for CPU-local completions instead of reimplementing them locally. Signed-off-by: Christoph Hellwig --- drivers/block/null_blk.c | 97 +++--- 1 file changed, 32 insertions(+), 65 deletions(-) diff --git

[PATCH 3/3] null_blk: use blk_complete_request and blk_mq_complete_request

2014-02-10 Thread Christoph Hellwig
Use the block layer helpers for CPU-local completions instead of reimplementing them locally. Signed-off-by: Christoph Hellwig h...@lst.de --- drivers/block/null_blk.c | 97 +++--- 1 file changed, 32 insertions(+), 65 deletions(-) diff --git