[Ocfs2-commits] mfasheh commits r2619 - branches/ocfs2-1.0/fs/ocfs2/cluster

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


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

Modified:
   branches/ocfs2-1.0/fs/ocfs2/cluster/heartbeat.c
Log:
* Backport svn r2617 from trunk:
	-Fix a bio leak in ocfs_heartbeat. 
         
Signed-off-by: jlbec



Modified: branches/ocfs2-1.0/fs/ocfs2/cluster/heartbeat.c
===================================================================
--- branches/ocfs2-1.0/fs/ocfs2/cluster/heartbeat.c	2005-09-26 21:23:51 UTC (rev 2618)
+++ branches/ocfs2-1.0/fs/ocfs2/cluster/heartbeat.c	2005-09-26 21:24:16 UTC (rev 2619)
@@ -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