Date: Sat, 1 Mar 2014 21:22:20 +0000 (UTC) From: "Pedro F. Giffuni" <pfg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r262667 - head/sys/fs/ext2fs Message-ID: <201403012122.s21LMK3W075556@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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); } } }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403012122.s21LMK3W075556>