Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 43307
b: refs/heads/master
c: 1babdb4
h: refs/heads/master
i:
  43305: acf4436
  43303: 0b17ca1
v: v3
  • Loading branch information
David Teigland authored and Steven Whitehouse committed Nov 30, 2006
1 parent f04654e commit fa4198a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: aed3255f2267e2d1d95b9cf7f2995ce24e6c873b
refs/heads/master: 1babdb453138f17b8ed3d1d5711089c4e2fa5ace
6 changes: 5 additions & 1 deletion trunk/fs/dlm/rcom.c
Original file line number Diff line number Diff line change
Expand Up @@ -370,9 +370,10 @@ static void receive_rcom_lock_reply(struct dlm_ls *ls, struct dlm_rcom *rc_in)
static int send_ls_not_ready(int nodeid, struct dlm_rcom *rc_in)
{
struct dlm_rcom *rc;
struct rcom_config *rf;
struct dlm_mhandle *mh;
char *mb;
int mb_len = sizeof(struct dlm_rcom);
int mb_len = sizeof(struct dlm_rcom) + sizeof(struct rcom_config);

mh = dlm_lowcomms_get_buffer(nodeid, mb_len, GFP_KERNEL, &mb);
if (!mh)
Expand All @@ -391,6 +392,9 @@ static int send_ls_not_ready(int nodeid, struct dlm_rcom *rc_in)
rc->rc_id = rc_in->rc_id;
rc->rc_result = -ESRCH;

rf = (struct rcom_config *) rc->rc_buf;
rf->rf_lvblen = -1;

dlm_rcom_out(rc);
dlm_lowcomms_commit_buffer(mh);

Expand Down

0 comments on commit fa4198a

Please sign in to comment.