aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2006-08-23 13:50:54 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-08-24 09:37:43 -0400
commitf5888750aad219bec42f3f28354eb230d1a47b89 (patch)
tree23f189a18b183138ff8d3c78d92320fe9151fa13
parent32f105a123804c7882d447f013aeb3530b4d63c0 (diff)
[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>
-rw-r--r--fs/dlm/rcom.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/dlm/rcom.c b/fs/dlm/rcom.c
index 64ba4929f90b..518239a8b1e9 100644
--- a/fs/dlm/rcom.c
+++ b/fs/dlm/rcom.c
@@ -388,6 +388,7 @@ static int send_ls_not_ready(int nodeid, struct dlm_rcom *rc_in)
388 rc->rc_header.h_cmd = DLM_RCOM; 388 rc->rc_header.h_cmd = DLM_RCOM;
389 389
390 rc->rc_type = DLM_RCOM_STATUS_REPLY; 390 rc->rc_type = DLM_RCOM_STATUS_REPLY;
391 rc->rc_id = rc_in->rc_id;
391 rc->rc_result = -ESRCH; 392 rc->rc_result = -ESRCH;
392 393
393 dlm_rcom_out(rc); 394 dlm_rcom_out(rc);