PERFORCE change 167925 for review

Aditya Sarawgi truncs at FreeBSD.org
Fri Aug 28 14:32:38 UTC 2009


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

Change 167925 by truncs at aditya on 2009/08/28 14:31:53

	Build fixes.

Affected files ...

.. //depot/projects/soc2009/soc_ext2fs/src/sys/fs/ext2fs/ext2_alloc.c#3 edit
.. //depot/projects/soc2009/soc_ext2fs/src/sys/fs/ext2fs/ext2_inode.c#4 edit

Differences ...

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

@@ -443,7 +443,7 @@
 	/* if the next block is actually what we thought it is,
 	   then set the goal to what we thought it should be
 	*/
-	if(ip->i_next_alloc_block == lbn && && ip->i_next_alloc_goal != 0)
+	if(ip->i_next_alloc_block == lbn && ip->i_next_alloc_goal != 0)
 		return ip->i_next_alloc_goal;
 
 	/* now check whether we were provided with an array that basically

==== //depot/projects/soc2009/soc_ext2fs/src/sys/fs/ext2fs/ext2_inode.c#4 (text+ko) ====

@@ -165,6 +165,7 @@
 		if (error) {
 			vnode_pager_setsize(vp, osize);
 			return (error);
+		}
 		oip->i_size = length;
 		if (aflags & B_SYNC)
 			bwrite(bp);


More information about the p4-projects mailing list