|
@@ -125,6 +125,9 @@ nfs41_callback_svc(void *vrqstp)
|
|
set_freezable();
|
|
set_freezable();
|
|
|
|
|
|
while (!kthread_should_stop()) {
|
|
while (!kthread_should_stop()) {
|
|
|
|
+ if (try_to_freeze())
|
|
|
|
+ continue;
|
|
|
|
+
|
|
prepare_to_wait(&serv->sv_cb_waitq, &wq, TASK_INTERRUPTIBLE);
|
|
prepare_to_wait(&serv->sv_cb_waitq, &wq, TASK_INTERRUPTIBLE);
|
|
spin_lock_bh(&serv->sv_cb_lock);
|
|
spin_lock_bh(&serv->sv_cb_lock);
|
|
if (!list_empty(&serv->sv_cb_list)) {
|
|
if (!list_empty(&serv->sv_cb_list)) {
|