diff options
author | Christoph Hellwig <hch@lst.de> | 2018-05-09 10:54:05 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-05-14 17:55:12 +0300 |
commit | ff005a066240efb73ae29a2bb9269ae726bc2eae (patch) | |
tree | 95cc3d40c1484013d466e08c288d283fae8644f2 /drivers/ide/ide-cd.c | |
parent | a9a14d36714fe3669ad5a26faaca0cfaafb1c0f9 (diff) | |
download | linux-ff005a066240efb73ae29a2bb9269ae726bc2eae.tar.xz |
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/ide/ide-cd.c')
-rw-r--r-- | drivers/ide/ide-cd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-cd.c b/drivers/ide/ide-cd.c index 5a8e8e3c22cd..32af6f063cb3 100644 --- a/drivers/ide/ide-cd.c +++ b/drivers/ide/ide-cd.c @@ -437,7 +437,7 @@ int ide_cd_queue_pc(ide_drive_t *drive, const unsigned char *cmd, bool delay = false; rq = blk_get_request(drive->queue, - write ? REQ_OP_DRV_OUT : REQ_OP_DRV_IN, __GFP_RECLAIM); + write ? REQ_OP_DRV_OUT : REQ_OP_DRV_IN, 0); memcpy(scsi_req(rq)->cmd, cmd, BLK_MAX_CDB); ide_req(rq)->type = ATA_PRIV_PC; rq->rq_flags |= rq_flags; |