Skip to content

Commit

Permalink
[DLM] sequence number missing in not_ready reply
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Teigland authored and Steven Whitehouse committed Aug 24, 2006
1 parent 32f105a commit f588875
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/dlm/rcom.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f588875

Please sign in to comment.