diff options
author | Hannes Reinecke <hare@suse.de> | 2014-11-17 14:25:19 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-11-24 20:01:40 +0100 |
commit | eb846d9f147455e4e5e1863bfb5e31974bb69b7c (patch) | |
tree | 443efbb146c7824508be817923bab04c2185810e /drivers/scsi/sd.c | |
parent | scsi: remove scsi_driver owner field (diff) | |
download | linux-eb846d9f147455e4e5e1863bfb5e31974bb69b7c.tar.xz linux-eb846d9f147455e4e5e1863bfb5e31974bb69b7c.zip |
scsi: rename SERVICE_ACTION_IN to SERVICE_ACTION_IN_16
SPC-3 defines SERVICE ACTION IN(12) and SERVICE ACTION IN(16).
So rename SERVICE_ACTION_IN to SERVICE_ACTION_IN_16 to be
consistent with SPC and to allow for better distinction.
Signed-off-by: Hannes Reinecke <hare@suse.de>
Tested-by: Robert Elliott <elliott@hp.com>
Reviewed-by: Robert Elliott <elliott@hp.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
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 54abcb220ab4..fedab3c21ddf 100644 --- a/drivers/scsi/sd.c +++ b/drivers/scsi/sd.c @@ -1982,7 +1982,7 @@ static int read_capacity_16(struct scsi_disk *sdkp, struct scsi_device *sdp, do { memset(cmd, 0, 16); - cmd[0] = SERVICE_ACTION_IN; + cmd[0] = SERVICE_ACTION_IN_16; cmd[1] = SAI_READ_CAPACITY_16; cmd[13] = RC16_LEN; memset(buffer, 0, RC16_LEN); |