From owner-svn-src-all@FreeBSD.ORG Sat Mar 1 21:22:21 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 05356E67; Sat, 1 Mar 2014 21:22:21 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E619B109C; Sat, 1 Mar 2014 21:22:20 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s21LMK6V075558; Sat, 1 Mar 2014 21:22:20 GMT (envelope-from pfg@svn.freebsd.org) Received: (from pfg@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s21LMK3W075556; Sat, 1 Mar 2014 21:22:20 GMT (envelope-from pfg@svn.freebsd.org) Message-Id: <201403012122.s21LMK3W075556@svn.freebsd.org> From: "Pedro F. Giffuni" Date: Sat, 1 Mar 2014 21:22:20 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r262667 - head/sys/fs/ext2fs X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Mar 2014 21:22:21 -0000 Author: pfg Date: Sat Mar 1 21:22:20 2014 New Revision: 262667 URL: http://svnweb.freebsd.org/changeset/base/262667 Log: ext2fs: small formatting fixes. Remove some redundant spaces. No functional change. MFC after: 3 days Modified: head/sys/fs/ext2fs/ext2_alloc.c head/sys/fs/ext2fs/ext2_bmap.c Modified: head/sys/fs/ext2fs/ext2_alloc.c ============================================================================== --- head/sys/fs/ext2fs/ext2_alloc.c Sat Mar 1 19:25:23 2014 (r262666) +++ head/sys/fs/ext2fs/ext2_alloc.c Sat Mar 1 21:22:20 2014 (r262667) @@ -934,7 +934,7 @@ ext2_nodealloccg(struct inode *ip, int c panic("ext2fs_nodealloccg: map corrupted"); /* NOTREACHED */ } - } + } ipref = (loc - ibp) * NBBY + ffs(~*loc) - 1; gotit: setbit(ibp, ipref); Modified: head/sys/fs/ext2fs/ext2_bmap.c ============================================================================== --- head/sys/fs/ext2fs/ext2_bmap.c Sat Mar 1 19:25:23 2014 (r262666) +++ head/sys/fs/ext2fs/ext2_bmap.c Sat Mar 1 21:22:20 2014 (r262667) @@ -250,10 +250,10 @@ ext2_bmaparray(struct vnode *vp, daddr_t bn = ap->in_off; if (runb && bn) { for (--bn; bn >= 0 && *runb < maxrun && - is_sequential(ump, + is_sequential(ump, ((e2fs_daddr_t *)bp->b_data)[bn], ((e2fs_daddr_t *)bp->b_data)[bn + 1]); - --bn, ++*runb); + --bn, ++*runb); } } }