fs: dlm: add more midcomms hooks
[linux-2.6-microblaze.git] / fs / dlm / config.c
index 88d95d9..01ae294 100644 (file)
@@ -20,6 +20,7 @@
 #include <net/sock.h>
 
 #include "config.h"
+#include "midcomms.h"
 #include "lowcomms.h"
 
 /*
@@ -532,7 +533,7 @@ static void drop_comm(struct config_group *g, struct config_item *i)
        struct dlm_comm *cm = config_item_to_comm(i);
        if (local_comm == cm)
                local_comm = NULL;
-       dlm_lowcomms_close(cm->nodeid);
+       dlm_midcomms_close(cm->nodeid);
        while (cm->addr_count--)
                kfree(cm->addr[cm->addr_count]);
        config_item_put(i);