target: Reject EXTENDED_COPY when emulate_3pc is disabled
authorNicholas Bellinger <nab@linux-iscsi.org>
Tue, 8 Oct 2013 01:05:14 +0000 (18:05 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 9 Oct 2013 08:54:44 +0000 (01:54 -0700)
This patch rejects EXTENDED_COPY when the emulate_3pc attribute has
been explicitly disabled for the receiving device.

It also adds a similar check in target_xcopy_locate_se_dev_e4() to
ignore these devices when doing a search based upon the identifier
WWN provided by EXTENDED_COPY parameter list target descriptors.

Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_xcopy.c

Simple merge