]> Pileus Git - ~andy/linux/blobdiff - fs/dlm/config.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
[~andy/linux] / fs / dlm / config.c
index 87df9616415e5d38bacd1359a8d64625b1055562..88553054bbfa4cd7a03efdf41036e75b54255d7a 100644 (file)
@@ -17,6 +17,7 @@
 #include <net/sock.h>
 
 #include "config.h"
+#include "lowcomms.h"
 
 /*
  * /config/dlm/<cluster>/spaces/<space>/nodes/<node>/nodeid
@@ -429,6 +430,7 @@ static void drop_comm(struct config_group *g, struct config_item *i)
        struct comm *cm = to_comm(i);
        if (local_comm == cm)
                local_comm = NULL;
+       dlm_lowcomms_close(cm->nodeid);
        while (cm->addr_count--)
                kfree(cm->addr[cm->addr_count]);
        config_item_put(i);