diff options
Diffstat (limited to 'drivers/scsi/sd.c')
-rw-r--r-- | drivers/scsi/sd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c index 03bed86..f54a530 100644 --- a/drivers/scsi/sd.c +++ b/drivers/scsi/sd.c @@ -850,7 +850,7 @@ static int sd_setup_write_same_cmnd(struct scsi_cmnd *cmd) } cmd->transfersize = sdp->sector_size; - cmd->allowed = rq->retries; + cmd->allowed = SD_MAX_RETRIES; /* * For WRITE_SAME the data transferred in the DATA IN buffer is |