aboutsummaryrefslogtreecommitdiffstats
path: root/fs/dlm/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/dlm/config.c')
-rw-r--r--fs/dlm/config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/dlm/config.c b/fs/dlm/config.c
index 87df9616415e..88553054bbfa 100644
--- a/fs/dlm/config.c
+++ b/fs/dlm/config.c
@@ -17,6 +17,7 @@
17#include <net/sock.h> 17#include <net/sock.h>
18 18
19#include "config.h" 19#include "config.h"
20#include "lowcomms.h"
20 21
21/* 22/*
22 * /config/dlm/<cluster>/spaces/<space>/nodes/<node>/nodeid 23 * /config/dlm/<cluster>/spaces/<space>/nodes/<node>/nodeid
@@ -429,6 +430,7 @@ static void drop_comm(struct config_group *g, struct config_item *i)
429 struct comm *cm = to_comm(i); 430 struct comm *cm = to_comm(i);
430 if (local_comm == cm) 431 if (local_comm == cm)
431 local_comm = NULL; 432 local_comm = NULL;
433 dlm_lowcomms_close(cm->nodeid);
432 while (cm->addr_count--) 434 while (cm->addr_count--)
433 kfree(cm->addr[cm->addr_count]); 435 kfree(cm->addr[cm->addr_count]);
434 config_item_put(i); 436 config_item_put(i);