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

Commit 7081fb62 authored by Roland Dreier's avatar Roland Dreier Committed by Martin K. Petersen
Browse files

scsi: target: Set response length for REPORT TARGET PORT GROUPS



One more place where we can return the length we actually fill in.

Signed-off-by: default avatarRoland Dreier <roland@purestorage.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent a0db8a75
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -268,7 +268,7 @@ target_emulate_report_target_port_groups(struct se_cmd *cmd)
	}
	transport_kunmap_data_sg(cmd);

	target_complete_cmd(cmd, GOOD);
	target_complete_cmd_with_length(cmd, GOOD, rd_len + 4);
	return 0;
}