From owner-p4-projects@FreeBSD.ORG Fri Aug 28 14:32:38 2009 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 83D601065673; Fri, 28 Aug 2009 14:32:38 +0000 (UTC) Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47F60106566C for ; Fri, 28 Aug 2009 14:32:38 +0000 (UTC) (envelope-from truncs@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 36F4E8FC16 for ; Fri, 28 Aug 2009 14:32:38 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n7SEWc0A018291 for ; Fri, 28 Aug 2009 14:32:38 GMT (envelope-from truncs@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n7SEWcst018289 for perforce@freebsd.org; Fri, 28 Aug 2009 14:32:38 GMT (envelope-from truncs@FreeBSD.org) Date: Fri, 28 Aug 2009 14:32:38 GMT Message-Id: <200908281432.n7SEWcst018289@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to truncs@FreeBSD.org using -f From: Aditya Sarawgi To: Perforce Change Reviews Cc: Subject: PERFORCE change 167925 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2009 14:32:38 -0000 http://perforce.freebsd.org/chv.cgi?CH=167925 Change 167925 by truncs@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);