aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/scsi_lib.c')
-rw-r--r--drivers/scsi/scsi_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c
index 54a72f197487..14ad2a785a34 100644
--- a/drivers/scsi/scsi_lib.c
+++ b/drivers/scsi/scsi_lib.c
@@ -462,6 +462,7 @@ int scsi_execute_async(struct scsi_device *sdev, const unsigned char *cmd,
462 req = blk_get_request(sdev->request_queue, write, gfp); 462 req = blk_get_request(sdev->request_queue, write, gfp);
463 if (!req) 463 if (!req)
464 goto free_sense; 464 goto free_sense;
465 req->flags |= REQ_BLOCK_PC | REQ_QUIET;
465 466
466 if (use_sg) 467 if (use_sg)
467 err = scsi_req_map_sg(req, buffer, use_sg, bufflen, gfp); 468 err = scsi_req_map_sg(req, buffer, use_sg, bufflen, gfp);
@@ -477,7 +478,6 @@ int scsi_execute_async(struct scsi_device *sdev, const unsigned char *cmd,
477 req->sense_len = 0; 478 req->sense_len = 0;
478 req->timeout = timeout; 479 req->timeout = timeout;
479 req->retries = retries; 480 req->retries = retries;
480 req->flags |= REQ_BLOCK_PC | REQ_QUIET;
481 req->end_io_data = sioc; 481 req->end_io_data = sioc;
482 482
483 sioc->data = privdata; 483 sioc->data = privdata;