VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Patrick Caulfeld <pcaulfie@redhat.com> 2008-01-09 15:06:27 +0000 committer: David Teigland <teigland@redhat.com> 2008-01-29 17:17:32 -0600 commit: 39bd4177ddbeb4c86e854d3d5c4a6a26088e601e parent: 52bda2b5bab87c388848bbc0f4d28d04858d5a7d
Commit Summary:
dlm: close othercons
Diffstat:
1 file changed, 2 insertions, 0 deletions
diff --git a/fs/dlm/lowcomms.c b/fs/dlm/lowcomms.c
index 57728448f1b9..7c1e5e5cccd8 100644
--- a/fs/dlm/lowcomms.c
+++ b/fs/dlm/lowcomms.c
@@ -1437,6 +1437,8 @@ void dlm_lowcomms_stop(void)
 		con = __nodeid2con(i, 0);
 		if (con) {
 			close_connection(con, true);
+			if (con->othercon)
+				kmem_cache_free(con_cache, con->othercon);
 			kmem_cache_free(con_cache, con);
 		}
 	}