diff options
author | Christoph Hellwig <hch@lst.de> | 2018-05-09 03:54:05 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-05-14 10:55:12 -0400 |
commit | ff005a066240efb73ae29a2bb9269ae726bc2eae (patch) | |
tree | 95cc3d40c1484013d466e08c288d283fae8644f2 /drivers/block/sx8.c | |
parent | a9a14d36714fe3669ad5a26faaca0cfaafb1c0f9 (diff) |
block: sanitize blk_get_request calling conventions
Switch everyone to blk_get_request_flags, and then rename
blk_get_request_flags to blk_get_request.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/sx8.c')
-rw-r--r-- | drivers/block/sx8.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/sx8.c b/drivers/block/sx8.c index 08586dc14e85..4d90e5eba2f5 100644 --- a/drivers/block/sx8.c +++ b/drivers/block/sx8.c | |||
@@ -567,7 +567,7 @@ static struct carm_request *carm_get_special(struct carm_host *host) | |||
567 | if (!crq) | 567 | if (!crq) |
568 | return NULL; | 568 | return NULL; |
569 | 569 | ||
570 | rq = blk_get_request(host->oob_q, REQ_OP_DRV_OUT, GFP_KERNEL); | 570 | rq = blk_get_request(host->oob_q, REQ_OP_DRV_OUT, 0); |
571 | if (IS_ERR(rq)) { | 571 | if (IS_ERR(rq)) { |
572 | spin_lock_irqsave(&host->lock, flags); | 572 | spin_lock_irqsave(&host->lock, flags); |
573 | carm_put_request(host, crq); | 573 | carm_put_request(host, crq); |