sched: Remove proliferation of wait_on_bit() action functions
[linux-2.6-block.git] / fs / nfs / nfs4state.c
index 848f6853c59e49c8b3b570ddc99626bfab935212..42f12118216700d2cde7c6093b8470b1f20ab674 100644 (file)
@@ -1251,8 +1251,8 @@ int nfs4_wait_clnt_recover(struct nfs_client *clp)
        might_sleep();
 
        atomic_inc(&clp->cl_count);
-       res = wait_on_bit(&clp->cl_state, NFS4CLNT_MANAGER_RUNNING,
-                       nfs_wait_bit_killable, TASK_KILLABLE);
+       res = wait_on_bit_action(&clp->cl_state, NFS4CLNT_MANAGER_RUNNING,
+                                nfs_wait_bit_killable, TASK_KILLABLE);
        if (res)
                goto out;
        if (clp->cl_cons_state < 0)