• Nicholas Bellinger's avatar
    target: Avoid non-existent tg_pt_gp_mem in target_alua_state_check · 89c12cc9
    Nicholas Bellinger authored
    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: default avatarNicholas Bellinger <nab@daterainc.com>
    89c12cc9
target_core_alua.c 54.2 KB