target_core_alua: store old and pending ALUA state
authorHannes Reinecke <hare@suse.de>
Tue, 17 Dec 2013 08:18:45 +0000 (09:18 +0100)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 17 Dec 2013 18:34:49 +0000 (10:34 -0800)
commitdfbce75ac8b4ed5dc51f8f144ebb274db940388d
tree84a804689e3316f2a5df0737d0680cd5bed14325
parent1e0b9403bd2e77006ae8dcdf279c0f30c7efc258
target_core_alua: store old and pending ALUA state

During state transition we should be storing both the original
and the pending state.

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