Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 43310
b: refs/heads/master
c: 57adf7e
h: refs/heads/master
v: v3
  • Loading branch information
Ryusuke Konishi authored and Steven Whitehouse committed Nov 30, 2006
1 parent 46ccf1f commit bb9ca68
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 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: 0ac230699a0f3f0d15ad4e4ad99446dac5b4a21f
refs/heads/master: 57adf7eede38d315e0e328c52484d6a596e9a238
3 changes: 2 additions & 1 deletion trunk/fs/dlm/rcom.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,8 @@ static void receive_sync_reply(struct dlm_ls *ls, struct dlm_rcom *rc_in)
rc_in->rc_id != ls->ls_rcom_seq) {
log_debug(ls, "reject reply %d from %d seq %llx expect %llx",
rc_in->rc_type, rc_in->rc_header.h_nodeid,
rc_in->rc_id, ls->ls_rcom_seq);
(unsigned long long)rc_in->rc_id,
(unsigned long long)ls->ls_rcom_seq);
goto out;
}
memcpy(ls->ls_recover_buf, rc_in, rc_in->rc_header.h_length);
Expand Down
8 changes: 5 additions & 3 deletions trunk/fs/dlm/recoverd.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ static int ls_recover(struct dlm_ls *ls, struct dlm_recover *rv)
unsigned long start;
int error, neg = 0;

log_debug(ls, "recover %llx", rv->seq);
log_debug(ls, "recover %llx", (unsigned long long)rv->seq);

mutex_lock(&ls->ls_recoverd_active);

Expand Down Expand Up @@ -212,15 +212,17 @@ static int ls_recover(struct dlm_ls *ls, struct dlm_recover *rv)

dlm_astd_wake();

log_debug(ls, "recover %llx done: %u ms", rv->seq,
log_debug(ls, "recover %llx done: %u ms",
(unsigned long long)rv->seq,
jiffies_to_msecs(jiffies - start));
mutex_unlock(&ls->ls_recoverd_active);

return 0;

fail:
dlm_release_root_list(ls);
log_debug(ls, "recover %llx error %d", rv->seq, error);
log_debug(ls, "recover %llx error %d",
(unsigned long long)rv->seq, error);
mutex_unlock(&ls->ls_recoverd_active);
return error;
}
Expand Down

0 comments on commit bb9ca68

Please sign in to comment.