X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=fs%2Fdlm%2Fconfig.c;h=88553054bbfa4cd7a03efdf41036e75b54255d7a;hb=7c2aed4b5632fb536721b8494d1a4a65852ffb49;hp=87df9616415e5d38bacd1359a8d64625b1055562;hpb=901359256b2666f52a3a7d3f31927677e91b3a2a;p=~andy%2Flinux diff --git a/fs/dlm/config.c b/fs/dlm/config.c index 87df9616415..88553054bbf 100644 --- a/fs/dlm/config.c +++ b/fs/dlm/config.c @@ -17,6 +17,7 @@ #include #include "config.h" +#include "lowcomms.h" /* * /config/dlm//spaces//nodes//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);