diff options
author | Christoph Hellwig <hch@lst.de> | 2017-04-05 19:18:12 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-04-05 12:05:08 -0600 |
commit | 64c7f1d1572cacadfc0a4ca5a937aeffa486de58 (patch) | |
tree | 9b6a5030c06ba94e629e1411bebdb01b1735de78 /drivers/scsi/osd | |
parent | 44e44b29fb99a299dfaa404a59fa35519a197c6b (diff) |
block, scsi: move the retries field to struct scsi_request
Instead of bloating the generic struct request with it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/scsi/osd')
-rw-r--r-- | drivers/scsi/osd/osd_initiator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/osd/osd_initiator.c b/drivers/scsi/osd/osd_initiator.c index 6903f03c88af..9d0727b2bdec 100644 --- a/drivers/scsi/osd/osd_initiator.c +++ b/drivers/scsi/osd/osd_initiator.c @@ -1602,7 +1602,7 @@ static int _init_blk_request(struct osd_request *or, req->rq_flags |= RQF_QUIET; req->timeout = or->timeout; - req->retries = or->retries; + scsi_req(req)->retries = or->retries; if (has_out) { or->out.req = req; |