Skip to content

Commit e437fa3

Browse files
tangwenjiNicholas Bellinger
authored andcommitted
target: fix double unmap data sg in core_scsi3_emulate_pro_register_and_move()
Signed-off-by: tangwenji <[email protected]> Signed-off-by: Nicholas Bellinger <[email protected]>
1 parent c58a252 commit e437fa3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/target/target_core_pr.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3528,8 +3528,6 @@ core_scsi3_emulate_pro_register_and_move(struct se_cmd *cmd, u64 res_key,
35283528

35293529
core_scsi3_update_and_write_aptpl(cmd->se_dev, aptpl);
35303530

3531-
transport_kunmap_data_sg(cmd);
3532-
35333531
core_scsi3_put_pr_reg(dest_pr_reg);
35343532
return 0;
35353533
out:

0 commit comments

Comments
 (0)