aboutsummaryrefslogtreecommitdiffstats
path: root/fs/dlm/recoverd.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/dlm/recoverd.c')
-rw-r--r--fs/dlm/recoverd.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/dlm/recoverd.c b/fs/dlm/recoverd.c
index eac8e9fa67f1..362e3eff4dc9 100644
--- a/fs/dlm/recoverd.c
+++ b/fs/dlm/recoverd.c
@@ -234,6 +234,10 @@ static int dlm_recoverd(void *arg)
234 struct dlm_ls *ls; 234 struct dlm_ls *ls;
235 235
236 ls = dlm_find_lockspace_local(arg); 236 ls = dlm_find_lockspace_local(arg);
237 if (!ls) {
238 log_print("dlm_recoverd: no lockspace %p", arg);
239 return -1;
240 }
237 241
238 while (!kthread_should_stop()) { 242 while (!kthread_should_stop()) {
239 set_current_state(TASK_INTERRUPTIBLE); 243 set_current_state(TASK_INTERRUPTIBLE);