aboutsummaryrefslogtreecommitdiffstats
path: root/fs/dlm/recoverd.c
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2006-01-20 03:47:07 -0500
committerSteven Whitehouse <steve@chygwyn.com>2006-01-20 03:47:07 -0500
commit901359256b2666f52a3a7d3f31927677e91b3a2a (patch)
tree24d4ee2c1ad63a0e6c3a303ad67eac3342772c4f /fs/dlm/recoverd.c
parentec5800246607183a1d7fd0bae5f087c12439e9e7 (diff)
[DLM] Update DLM to the latest patch level
Signed-off-by: David Teigland <teigland@redhat.com> Signed-off-by: Steve Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/dlm/recoverd.c')
-rw-r--r--fs/dlm/recoverd.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/fs/dlm/recoverd.c b/fs/dlm/recoverd.c
index 06e4f7cab6e7..70103533677d 100644
--- a/fs/dlm/recoverd.c
+++ b/fs/dlm/recoverd.c
@@ -45,9 +45,9 @@ static int ls_recover(struct dlm_ls *ls, struct dlm_recover *rv)
45 unsigned long start; 45 unsigned long start;
46 int error, neg = 0; 46 int error, neg = 0;
47 47
48 log_debug(ls, "recover %"PRIx64"", rv->seq); 48 log_debug(ls, "recover %llx", rv->seq);
49 49
50 down(&ls->ls_recoverd_active); 50 mutex_lock(&ls->ls_recoverd_active);
51 51
52 /* 52 /*
53 * Suspending and resuming dlm_astd ensures that no lkb's from this ls 53 * Suspending and resuming dlm_astd ensures that no lkb's from this ls
@@ -199,16 +199,16 @@ static int ls_recover(struct dlm_ls *ls, struct dlm_recover *rv)
199 199
200 dlm_astd_wake(); 200 dlm_astd_wake();
201 201
202 log_debug(ls, "recover %"PRIx64" done: %u ms", rv->seq, 202 log_debug(ls, "recover %llx done: %u ms", rv->seq,
203 jiffies_to_msecs(jiffies - start)); 203 jiffies_to_msecs(jiffies - start));
204 up(&ls->ls_recoverd_active); 204 mutex_unlock(&ls->ls_recoverd_active);
205 205
206 return 0; 206 return 0;
207 207
208 fail: 208 fail:
209 dlm_release_root_list(ls); 209 dlm_release_root_list(ls);
210 log_debug(ls, "recover %"PRIx64" error %d", rv->seq, error); 210 log_debug(ls, "recover %llx error %d", rv->seq, error);
211 up(&ls->ls_recoverd_active); 211 mutex_unlock(&ls->ls_recoverd_active);
212 return error; 212 return error;
213} 213}
214 214
@@ -275,11 +275,11 @@ void dlm_recoverd_stop(struct dlm_ls *ls)
275 275
276void dlm_recoverd_suspend(struct dlm_ls *ls) 276void dlm_recoverd_suspend(struct dlm_ls *ls)
277{ 277{
278 down(&ls->ls_recoverd_active); 278 mutex_lock(&ls->ls_recoverd_active);
279} 279}
280 280
281void dlm_recoverd_resume(struct dlm_ls *ls) 281void dlm_recoverd_resume(struct dlm_ls *ls)
282{ 282{
283 up(&ls->ls_recoverd_active); 283 mutex_unlock(&ls->ls_recoverd_active);
284} 284}
285 285