]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - mdadm.c
Safeguard against writing to an active device of another node
[thirdparty/mdadm.git] / mdadm.c
diff --git a/mdadm.c b/mdadm.c
index f32a3d4713d206bd29f0278c7df310b370c2044b..8a758eab18d95cc2952b6696785c65d97d96a123 100644 (file)
--- a/mdadm.c
+++ b/mdadm.c
@@ -1346,6 +1346,8 @@ int main(int argc, char *argv[])
                /* --scan implied --brief unless -vv */
                c.brief = 1;
 
+       set_dlm_hooks(); /* get dlm funcs from libdlm_lt.so.3 */
+
        switch(mode) {
        case MANAGE:
                /* readonly, add/remove, readwrite, runstop */