From: Martin K. Petersen Date: Fri, 30 Oct 2009 02:32:26 +0000 (-0400) Subject: [SCSI] Fix incorrect reporting of host protection capabilities X-Git-Tag: v2.6.32-rc8~22^2~3 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2b465e9280b739a528435d2916c0a5c1b4eb100;p=pandora-kernel.git [SCSI] Fix incorrect reporting of host protection capabilities The advent of DIF Type 2 devices exposed some missing break statements in the protection mask switch constructs. However, rewriting the code to use an index into a small static array seemed like a more elegant solution. Signed-off-by: Martin K. Petersen Signed-off-by: James Bottomley --- Reading git-diff-tree failed