]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: remove the error argument to blk_mq_complete_request
authorChristoph Hellwig <hch@lst.de>
Thu, 20 Apr 2017 14:03:09 +0000 (16:03 +0200)
committerJens Axboe <axboe@fb.com>
Thu, 20 Apr 2017 18:16:10 +0000 (12:16 -0600)
commitdecf0f8bf00fa2908edebdce296013a2950a450b
tree4ccf1cbe87b02243a399fd46ccd51d8fd0d7423f
parent9a24ac7c0df12eb3b0fdcfde52d3723ddfeb3bf7
blk-mq: remove the error argument to blk_mq_complete_request

Now that all drivers that call blk_mq_complete_requests have a
->complete callback we can remove the direct call to blk_mq_end_request,
as well as the error argument to blk_mq_complete_request.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Bart Van Assche <Bart.VanAssche@sandisk.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
12 files changed:
block/blk-mq.c
drivers/block/loop.c
drivers/block/mtip32xx/mtip32xx.c
drivers/block/nbd.c
drivers/block/null_blk.c
drivers/block/virtio_blk.c
drivers/block/xen-blkfront.c
drivers/md/dm-rq.c
drivers/nvme/host/core.c
drivers/nvme/host/nvme.h
drivers/scsi/scsi_lib.c
include/linux/blk-mq.h