]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd09042437645f0660fcb717f9d0d344b30432c38
tree38d93b11145669f061c84bac3932b9c9b9c08f32
parentad2dcbf02c28e7d1029ffb28f2d6b06337e64025
target: Reject EXTENDED_COPY when emulate_3pc is disabled

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