diff options
Diffstat (limited to 'drivers/usb/storage/scsiglue.c')
| -rw-r--r-- | drivers/usb/storage/scsiglue.c | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/storage/scsiglue.c b/drivers/usb/storage/scsiglue.c index 6ab376a7c50..92f35abee92 100644 --- a/drivers/usb/storage/scsiglue.c +++ b/drivers/usb/storage/scsiglue.c @@ -189,6 +189,9 @@ static int slave_configure(struct scsi_device *sdev)  		/* Do not attempt to use REPORT SUPPORTED OPERATION CODES */  		sdev->no_report_opcodes = 1; +		/* Do not attempt to use WRITE SAME */ +		sdev->no_write_same = 1; +  		/* Some disks return the total number of blocks in response  		 * to READ CAPACITY rather than the highest block number.  		 * If this device makes that mistake, tell the sd driver. */  |