Updated from Linux LTS 3.10.23 to 3.10.24
This commit is contained in:
@@ -2632,6 +2632,12 @@ static void sd_read_write_same(struct scsi_disk *sdkp, unsigned char *buffer)
|
||||
{
|
||||
struct scsi_device *sdev = sdkp->device;
|
||||
|
||||
if (sdev->host->no_write_same) {
|
||||
sdev->no_write_same = 1;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
if (scsi_report_opcode(sdev, buffer, SD_BUF_SIZE, INQUIRY) < 0) {
|
||||
sdev->no_report_opcodes = 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user