From: Martin K. Petersen Date: Sun, 4 Jan 2009 08:04:34 +0000 (-0500) Subject: [SCSI] sd: Correctly handle 6-byte commands with DIX X-Git-Tag: v2.6.29-rc1~41^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5db524bd469290212781e1cb0293b57a7a1c000a;p=pandora-kernel.git [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 Reviewed-by: Matthew Wilcox Signed-off-by: James Bottomley --- Reading git-diff-tree failed