[Ocfs2-commits] mfasheh commits r2642 - branches/locking-changes/fs/ocfs2

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Fri Oct 7 16:37:04 CDT 2005


Author: mfasheh
Date: 2005-10-07 16:37:03 -0500 (Fri, 07 Oct 2005)
New Revision: 2642

Modified:
   branches/locking-changes/fs/ocfs2/file.c
Log:
* fix bh leak in ocfs2_zero_extend()



Modified: branches/locking-changes/fs/ocfs2/file.c
===================================================================
--- branches/locking-changes/fs/ocfs2/file.c	2005-10-06 21:42:25 UTC (rev 2641)
+++ branches/locking-changes/fs/ocfs2/file.c	2005-10-07 21:37:03 UTC (rev 2642)
@@ -704,6 +704,9 @@
 	}
 
 out:
+	if (di_bh)
+		brelse(di_bh);
+
 	return ret;
 }
 



More information about the Ocfs2-commits mailing list