Przeglądaj źródła

[DLM] sequence number missing in not_ready reply

When a status reply is sent for a lockspace that doesn't yet exist, the
message sequence number from the sender was not being copied into the
reply causing the sender to ignore the reply.

Signed-off-by: David Teigland <teigland@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
David Teigland 19 lat temu
rodzic
commit
f5888750aa
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      fs/dlm/rcom.c

+ 1 - 0
fs/dlm/rcom.c

@@ -388,6 +388,7 @@ static int send_ls_not_ready(int nodeid, struct dlm_rcom *rc_in)
 	rc->rc_header.h_cmd = DLM_RCOM;
 	rc->rc_header.h_cmd = DLM_RCOM;
 
 
 	rc->rc_type = DLM_RCOM_STATUS_REPLY;
 	rc->rc_type = DLM_RCOM_STATUS_REPLY;
+	rc->rc_id = rc_in->rc_id;
 	rc->rc_result = -ESRCH;
 	rc->rc_result = -ESRCH;
 
 
 	dlm_rcom_out(rc);
 	dlm_rcom_out(rc);