summaryrefslogtreecommitdiffstats
path: root/drivers/target
diff options
context:
space:
mode:
authortangwenji <tang.wenji@zte.com.cn>2017-08-21 20:17:18 +0800
committerNicholas Bellinger <nab@linux-iscsi.org>2017-11-04 14:45:22 -0700
commite437fa3e5d1fde522fcc345ab1fe32a671b943f0 (patch)
treee3108b141ec463160af3be4ae02e875174256643 /drivers/target
parentc58a252beb04cf0e02d6a746b2ed7ea89b6deb71 (diff)
downloadlinux-stable-e437fa3e5d1fde522fcc345ab1fe32a671b943f0.tar.gz
linux-stable-e437fa3e5d1fde522fcc345ab1fe32a671b943f0.tar.bz2
linux-stable-e437fa3e5d1fde522fcc345ab1fe32a671b943f0.zip
target: fix double unmap data sg in core_scsi3_emulate_pro_register_and_move()
Signed-off-by: tangwenji <tang.wenji@zte.com.cn> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target')
-rw-r--r--drivers/target/target_core_pr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/target/target_core_pr.c b/drivers/target/target_core_pr.c
index 9f25c9c6f67d..dbf572e0667b 100644
--- a/drivers/target/target_core_pr.c
+++ b/drivers/target/target_core_pr.c
@@ -3528,8 +3528,6 @@ after_iport_check:
core_scsi3_update_and_write_aptpl(cmd->se_dev, aptpl);
- transport_kunmap_data_sg(cmd);
-
core_scsi3_put_pr_reg(dest_pr_reg);
return 0;
out: