target_core_alua: validate ALUA state transition
authorHannes Reinecke <hare@suse.de>
Tue, 17 Dec 2013 08:18:43 +0000 (09:18 +0100)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 17 Dec 2013 18:30:26 +0000 (10:30 -0800)
commitbb91c1a087ed29ceb5b25b9c210c6665e13c36eb
treeb4b86f4accb7e5e810a181b4e19cc1b86ba0186f
parent340dbf729c3395cf1317890d033aa9ac7347766c
target_core_alua: validate ALUA state transition

As we now can modify the list of supported states we need to
validate the requested ALUA state when doing a state transition.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_alua.c