summaryrefslogtreecommitdiffstats
path: root/drivers/target
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2015-04-07 13:11:16 -0400
committerNicholas Bellinger <nab@linux-iscsi.org>2015-04-08 02:27:59 -0400
commitc3d0a7c21db219ef87679c2a667aba9f138524db (patch)
tree1958ebc8f480855b685fe805003e9b8ffb185664 /drivers/target
parent6766cc81191c946dcb8e8bfe49f220f9a1cc8b5c (diff)
target: remove the unused SCF_CMD_XCOPY_PASSTHROUGH flag
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target')
-rw-r--r--drivers/target/target_core_xcopy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/target/target_core_xcopy.c b/drivers/target/target_core_xcopy.c
index 04cad3b36297..b09b40e058a0 100644
--- a/drivers/target/target_core_xcopy.c
+++ b/drivers/target/target_core_xcopy.c
@@ -553,7 +553,7 @@ static int target_xcopy_init_pt_lun(
553 * target_xcopy_setup_pt_port() 553 * target_xcopy_setup_pt_port()
554 */ 554 */
555 if (!remote_port) { 555 if (!remote_port) {
556 pt_cmd->se_cmd_flags |= SCF_SE_LUN_CMD | SCF_CMD_XCOPY_PASSTHROUGH; 556 pt_cmd->se_cmd_flags |= SCF_SE_LUN_CMD;
557 return 0; 557 return 0;
558 } 558 }
559 559
@@ -561,7 +561,7 @@ static int target_xcopy_init_pt_lun(
561 pt_cmd->se_dev = se_dev; 561 pt_cmd->se_dev = se_dev;
562 562
563 pr_debug("Setup emulated se_dev: %p from se_dev\n", pt_cmd->se_dev); 563 pr_debug("Setup emulated se_dev: %p from se_dev\n", pt_cmd->se_dev);
564 pt_cmd->se_cmd_flags |= SCF_SE_LUN_CMD | SCF_CMD_XCOPY_PASSTHROUGH; 564 pt_cmd->se_cmd_flags |= SCF_SE_LUN_CMD;
565 565
566 pr_debug("Setup emulated se_dev: %p to pt_cmd->se_lun->lun_se_dev\n", 566 pr_debug("Setup emulated se_dev: %p to pt_cmd->se_lun->lun_se_dev\n",
567 pt_cmd->se_lun->lun_se_dev); 567 pt_cmd->se_lun->lun_se_dev);