[Ocfs2-commits] mfasheh commits r2617 - trunk/fs/ocfs2/cluster

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Mon Sep 26 16:22:27 CDT 2005


Author: mfasheh
Signed-off-by: jlbec
Date: 2005-09-26 16:22:26 -0500 (Mon, 26 Sep 2005)
New Revision: 2617

Modified:
   trunk/fs/ocfs2/cluster/heartbeat.c
Log:
* Fix a bio leak in ocfs_heartbeat.

Signed-off-by: jlbec



Modified: trunk/fs/ocfs2/cluster/heartbeat.c
===================================================================
--- trunk/fs/ocfs2/cluster/heartbeat.c	2005-09-26 20:32:40 UTC (rev 2616)
+++ trunk/fs/ocfs2/cluster/heartbeat.c	2005-09-26 21:22:26 UTC (rev 2617)
@@ -383,7 +383,6 @@
 		}
 		bios[i] = bio;
 
-		bio_get(bio);
 		submit_bio(READ, bio);
 	}
 
@@ -421,7 +420,6 @@
 		goto bail;
 	}
 
-	bio_get(bio);
 	submit_bio(WRITE, bio);
 
 	*write_bio = bio;



More information about the Ocfs2-commits mailing list