]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[DLM] sequence number missing in not_ready reply
authorDavid Teigland <teigland@redhat.com>
Wed, 23 Aug 2006 17:50:54 +0000 (12:50 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Thu, 24 Aug 2006 13:37:43 +0000 (09:37 -0400)
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>
fs/dlm/rcom.c

index 64ba4929f90b252d505e6d8ff5a71388f09af8e4..518239a8b1e90f00dc6c33c3b834c004d402e5dd 100644 (file)
@@ -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);