diff options
author | Christoph Hellwig <hch@lst.de> | 2018-05-09 09:54:08 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-05-14 16:55:18 +0200 |
commit | 0eb0b63c1d1a851b4c1606f4170691835d3616a2 (patch) | |
tree | 03850f0d7eecc9b87a26856cb859fd825e8931f9 /drivers/scsi/scsi_lib.c | |
parent | block: use GFP_NOIO instead of __GFP_DIRECT_RECLAIM (diff) | |
download | linux-0eb0b63c1d1a851b4c1606f4170691835d3616a2.tar.xz linux-0eb0b63c1d1a851b4c1606f4170691835d3616a2.zip |
block: consistently use GFP_NOIO instead of __GFP_NORECLAIM
Same numerical value (for now at least), but a much better documentation
of intent.
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/scsi/scsi_lib.c')
-rw-r--r-- | drivers/scsi/scsi_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index 6b0f3ec487bd..f125fd71c0f2 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c @@ -273,7 +273,7 @@ int scsi_execute(struct scsi_device *sdev, const unsigned char *cmd, rq = scsi_req(req); if (bufflen && blk_rq_map_kern(sdev->request_queue, req, - buffer, bufflen, __GFP_RECLAIM)) + buffer, bufflen, GFP_NOIO)) goto out; rq->cmd_len = COMMAND_SIZE(cmd[0]); |