[Ocfs2-commits] zab commits r2323 - trunk/fs/ocfs2/cluster

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Wed May 25 17:15:30 CDT 2005


Author: zab
Signed-off-by: mfasheh
Date: 2005-05-25 17:15:29 -0500 (Wed, 25 May 2005)
New Revision: 2323

Modified:
   trunk/fs/ocfs2/cluster/tcp.c
Log:
o free sock containers as their last ref is dropped

Signed-off-by: mfasheh


Modified: trunk/fs/ocfs2/cluster/tcp.c
===================================================================
--- trunk/fs/ocfs2/cluster/tcp.c	2005-05-25 22:05:44 UTC (rev 2322)
+++ trunk/fs/ocfs2/cluster/tcp.c	2005-05-25 22:15:29 UTC (rev 2323)
@@ -230,6 +230,7 @@
 		sock_release(sc->sc_sock);
 		sc->sc_sock = NULL;
 	}
+	kfree(sc);
 }
 
 static void sc_put(struct net_sock_container *sc)



More information about the Ocfs2-commits mailing list