Commit f5888750 authored by David Teigland's avatar David Teigland Committed by Steven Whitehouse
Browse files

[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: default avatarDavid Teigland <teigland@redhat.com>
Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
parent 32f105a1
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -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);