浏览代码

[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 年之前
父节点
当前提交
f5888750aa
共有 1 个文件被更改,包括 1 次插入0 次删除
  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_type = DLM_RCOM_STATUS_REPLY;
+	rc->rc_id = rc_in->rc_id;
 	rc->rc_result = -ESRCH;
 
 	dlm_rcom_out(rc);