target: Set response length for REPORT TARGET PORT GROUPS
PATCH 1/2 target: Set response length for REPORT TARGET PORT GROUPS
From: Roland Dreier <[email protected]>
One more place where we can return the length we actually fill in.
Signed-off-by Roland Dreier <[email protected]>
--- drivers/target/target_core_alua.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/target/target_core_alua.c +1 -1
@@ -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 ; }
Signature · 1 line
2.19.1
Quoted 3 lines · Roland Dreier
From: Roland Dreier <[email protected]>
One more place where we can return the length we actually fill in.
Looks good,
Reviewed-by Christoph Hellwig <[email protected]>
Martin K. Petersen
AppliedRoland,
Quoted 1 line
One more place where we can return the length we actually fill in.
Applied to 4.20/scsi-queue, thanks!
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering