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-tape.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-tape.c')
-rw-r--r-- | drivers/ide/ide-tape.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-tape.c b/drivers/ide/ide-tape.c index fd57e8ccc47a..66661031f3f1 100644 --- a/drivers/ide/ide-tape.c +++ b/drivers/ide/ide-tape.c @@ -854,7 +854,7 @@ static int idetape_queue_rw_tail(ide_drive_t *drive, int cmd, int size) BUG_ON(cmd != REQ_IDETAPE_READ && cmd != REQ_IDETAPE_WRITE); BUG_ON(size < 0 || size % tape->blk_size); - rq = blk_get_request(drive->queue, REQ_OP_DRV_IN, __GFP_RECLAIM); + rq = blk_get_request(drive->queue, REQ_OP_DRV_IN, 0); ide_req(rq)->type = ATA_PRIV_MISC; scsi_req(rq)->cmd[13] = cmd; rq->rq_disk = tape->disk; |