PERFORCE change 165269 for review

Aditya Sarawgi truncs at FreeBSD.org
Fri Jun 26 18:53:20 UTC 2009


http://perforce.freebsd.org/chv.cgi?CH=165269

Change 165269 by truncs at aditya on 2009/06/26 18:52:37

	FreeBSD's brelse take only one argument that is buffer pointer.

Affected files ...

.. //depot/projects/soc2009/soc_ext2fs/src/sys/gnu/fs/ext2fs/ext2_alloc.c#13 edit

Differences ...

==== //depot/projects/soc2009/soc_ext2fs/src/sys/gnu/fs/ext2fs/ext2_alloc.c#13 (text+ko) ====

@@ -639,7 +639,7 @@
 		fs->e2fs_gd[cg].ext2bgd_b_bitmap),
 		(int)fs->e2fs_bsize, NOCRED, &bp);
 	if (error) {
-		brelse(bp, 0);
+		brelse(bp);
 		return (0);
 	}
 	bbp = (char *)bp->b_data;
@@ -724,7 +724,7 @@
 		fs->e2fs_gd[cg].ext2bgd_i_bitmap),
 		(int)fs->e2fs_bsize, NOCRED, &bp);
 	if (error) {
-		brelse(bp, 0);
+		brelse(bp);
 		return (0);
 	}
 	ibp = (char *)bp->b_data;


More information about the p4-projects mailing list