summaryrefslogtreecommitdiffstats
path: root/fs/dlm/rcom.c
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2006-08-23 12:50:54 -0500
committerSteven Whitehouse <swhiteho@redhat.com>2006-08-24 09:37:43 -0400
commitf5888750aad219bec42f3f28354eb230d1a47b89 (patch)
tree23f189a18b183138ff8d3c78d92320fe9151fa13 /fs/dlm/rcom.c
parent32f105a123804c7882d447f013aeb3530b4d63c0 (diff)
downloadop-kernel-dev-f5888750aad219bec42f3f28354eb230d1a47b89.zip
op-kernel-dev-f5888750aad219bec42f3f28354eb230d1a47b89.tar.gz
[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>
Diffstat (limited to 'fs/dlm/rcom.c')
-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 64ba492..518239a 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)
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);
OpenPOWER on IntegriCloud