]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
target: Avoid non-existent tg_pt_gp_mem in target_alua_state_check
authorNicholas Bellinger <nab@daterainc.com>
Thu, 22 Aug 2013 22:35:45 +0000 (15:35 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 10 Sep 2013 23:48:42 +0000 (16:48 -0700)
commit89c12cc925a7d0982dc53b743a42108acc76aef4
tree8b923abc646a3ea8f14ab0e792ac68b20a1ce021
parentd9ea32bff2c55d4cd4654f1e98d269a758f34534
target: Avoid non-existent tg_pt_gp_mem in target_alua_state_check

This patch adds an check for a non-existent port->sep_alua_tg_pt_gp_mem
within target_alua_state_check(), which is not present for internally
dispatched EXTENDED_COPY WRITE I/O to the destination target port.

Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Martin Petersen <martin.petersen@oracle.com>
Cc: Chris Mason <chris.mason@fusionio.com>
Cc: Roland Dreier <roland@purestorage.com>
Cc: Zach Brown <zab@redhat.com>
Cc: James Bottomley <JBottomley@Parallels.com>
Cc: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Nicholas Bellinger <nab@daterainc.com>
drivers/target/target_core_alua.c