]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - fs/gfs2/lock_dlm.c
sched: Remove proliferation of wait_on_bit() action functions
[mirror_ubuntu-hirsute-kernel.git] / fs / gfs2 / lock_dlm.c
index 91f274de1246cabce0f052ede54dea53cf404cfc..992ca5b1e045d6acef5c90cef696c68175cf963b 100644 (file)
@@ -936,12 +936,6 @@ fail:
        return error;
 }
 
-static int dlm_recovery_wait(void *word)
-{
-       schedule();
-       return 0;
-}
-
 static int control_first_done(struct gfs2_sbd *sdp)
 {
        struct lm_lockstruct *ls = &sdp->sd_lockstruct;
@@ -976,7 +970,7 @@ restart:
                fs_info(sdp, "control_first_done wait gen %u\n", start_gen);
 
                wait_on_bit(&ls->ls_recover_flags, DFL_DLM_RECOVERY,
-                           dlm_recovery_wait, TASK_UNINTERRUPTIBLE);
+                           TASK_UNINTERRUPTIBLE);
                goto restart;
        }