diff options
Diffstat (limited to 'fs/dlm/recoverd.c')
-rw-r--r-- | fs/dlm/recoverd.c | 16 |
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 | ||
276 | void dlm_recoverd_suspend(struct dlm_ls *ls) | 276 | void 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 | ||
281 | void dlm_recoverd_resume(struct dlm_ls *ls) | 281 | void 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 | ||