[SCSI] remove Scsi_Device typedef
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:

committed by
James Bottomley

parent
0a04137e75
commit
f64a181d89
@@ -882,7 +882,7 @@ static inline int should_transform(ide_drive_t *drive, struct scsi_cmnd *cmd)
|
||||
struct gendisk *disk = cmd->request->rq_disk;
|
||||
|
||||
if (disk) {
|
||||
struct Scsi_Device_Template **p = disk->private_data;
|
||||
struct struct scsi_device_Template **p = disk->private_data;
|
||||
if (strcmp((*p)->scsi_driverfs_driver.name, "sg") == 0)
|
||||
return test_bit(IDESCSI_SG_TRANSFORM, &scsi->transform);
|
||||
}
|
||||
|
Reference in New Issue
Block a user