[Ocfs2-commits] mfasheh commits r2618 - branches/ocfs2-1.2/fs/ocfs2/cluster

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


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

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