From: Nicholas Bellinger Date: Sun, 14 Dec 2014 09:47:19 +0000 (-0800) Subject: target: Fix R_HOLDER bit usage for AllRegistrants X-Git-Tag: omap-for-v3.19/fixes-rc1~19^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d16ca7c5198fd668db10d2c7b048ed3359c12c54;p=pandora-kernel.git target: Fix R_HOLDER bit usage for AllRegistrants This patch fixes the usage of R_HOLDER bit for an All Registrants reservation in READ_FULL_STATUS, where only the registration who issued RESERVE was being reported as having an active reservation. It changes core_scsi3_pri_read_full_status() to check ahead of the list walk of active registrations to see if All Registrants is active, and if so set R_HOLDER bit and scope/type fields for all active registrations. Reported-by: Ilias Tsitsimpis Cc: James Bottomley Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed