diff options
author | pfg <pfg@FreeBSD.org> | 2014-03-01 21:22:20 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2014-03-01 21:22:20 +0000 |
commit | 5b13eca664db88cab837b5d0a8e1fbd57e0e4ba0 (patch) | |
tree | b539f7866b05f50b9c1e5b10096a50397e9cd441 /sys/fs | |
parent | e6899fc0bf3643c2cbc5ef56b35205e29423297e (diff) | |
download | FreeBSD-src-5b13eca664db88cab837b5d0a8e1fbd57e0e4ba0.zip FreeBSD-src-5b13eca664db88cab837b5d0a8e1fbd57e0e4ba0.tar.gz |
ext2fs: small formatting fixes.
Remove some redundant spaces.
No functional change.
MFC after: 3 days
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/ext2fs/ext2_alloc.c | 2 | ||||
-rw-r--r-- | sys/fs/ext2fs/ext2_bmap.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/fs/ext2fs/ext2_alloc.c b/sys/fs/ext2fs/ext2_alloc.c index f53f858..106a124 100644 --- a/sys/fs/ext2fs/ext2_alloc.c +++ b/sys/fs/ext2fs/ext2_alloc.c @@ -934,7 +934,7 @@ ext2_nodealloccg(struct inode *ip, int cg, daddr_t ipref, int mode) panic("ext2fs_nodealloccg: map corrupted"); /* NOTREACHED */ } - } + } ipref = (loc - ibp) * NBBY + ffs(~*loc) - 1; gotit: setbit(ibp, ipref); diff --git a/sys/fs/ext2fs/ext2_bmap.c b/sys/fs/ext2fs/ext2_bmap.c index 1ae3c2d..ce64858 100644 --- a/sys/fs/ext2fs/ext2_bmap.c +++ b/sys/fs/ext2fs/ext2_bmap.c @@ -250,10 +250,10 @@ ext2_bmaparray(struct vnode *vp, daddr_t bn, daddr_t *bnp, int *runp, int *runb) 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); } } } |