diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-12-14 01:47:19 -0800 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2015-04-09 13:14:21 +0200 |
commit | fcc609e5de6667b5239a62f5b6dac055281c90e6 (patch) | |
tree | be314f8be3c937f666159f321d9fb4e756cfe638 /usr | |
parent | d8e7312770e7f9b540a362bc029d5d77fbe40520 (diff) |
target: Fix R_HOLDER bit usage for AllRegistrants
commit d16ca7c5198fd668db10d2c7b048ed3359c12c54 upstream.
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 <i.tsitsimpis@gmail.com>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions