Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e437fa3e authored by tangwenji's avatar tangwenji Committed by Nicholas Bellinger
Browse files

target: fix double unmap data sg in core_scsi3_emulate_pro_register_and_move()

parent c58a252b
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -3528,8 +3528,6 @@ core_scsi3_emulate_pro_register_and_move(struct se_cmd *cmd, u64 res_key,

	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: