Martin K. Petersen 5db524bd46 [SCSI] sd: Correctly handle 6-byte commands with DIX
DIF does not work with 6-byte commands so we previously ignored those
commands when preparing a request.  However, DIX does not need
RDPROTECT/WRPROTECT to be set and 6-byte commands are consequently
perfectly valid in host-only mode.

This patch fixes a problem where we would set the wrong DIX operation
when issuing commands to a legacy disk.

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2009-01-05 09:06:23 -06:00
..
2008-10-31 00:56:00 -07:00
2008-01-11 18:22:30 -06:00
2006-09-12 17:12:31 -05:00
2006-09-12 17:12:31 -05:00
2008-10-16 16:52:06 +02:00
2008-12-29 11:24:14 -06:00
2008-08-29 02:13:10 -07:00
2008-11-30 10:03:36 -08:00
2008-10-09 08:56:13 +02:00
2006-09-12 17:12:31 -05:00
2008-10-09 08:56:13 +02:00
2008-01-30 13:14:02 -06:00
2008-12-28 20:00:03 +01:00
2006-09-12 17:12:31 -05:00
2008-01-30 13:14:02 -06:00
2008-01-30 13:14:02 -06:00
2009-01-02 10:51:44 -06:00
2008-10-23 11:42:17 -05:00
2007-07-18 11:16:32 -05:00
2008-07-02 15:06:25 -06:00
2008-02-07 18:02:44 -06:00
2009-01-02 12:02:25 -06:00
2008-10-23 11:42:19 -05:00
2006-11-15 16:43:50 -06:00
2007-10-19 23:22:55 +02:00