From: Martin K. Petersen Date: Fri, 19 Sep 2008 22:47:19 +0000 (-0400) Subject: [SCSI] sd: Issue correct protection operation X-Git-Tag: v2.6.28-rc1~263^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd623e79fb6bca7ab685bb1f7376476a81ce10bb;p=pandora-kernel.git [SCSI] sd: Issue correct protection operation Use the same logic to prepare RD/WRPROTECT and the protection operation. Fixes a corner case where we could issue an unprotected CDB and yet tell the HBA to do DIF to the drive. Signed-off-by: Martin K. Petersen Signed-off-by: James Bottomley --- Reading git-diff-tree failed