diff options
author | Pedro F. Giffuni <pfg@FreeBSD.org> | 2014-02-28 21:25:32 +0000 |
---|---|---|
committer | Pedro F. Giffuni <pfg@FreeBSD.org> | 2014-02-28 21:25:32 +0000 |
commit | 3a54024da49359a2782f2e472623c7e81a270f1c (patch) | |
tree | 43f5af62f13df240c53a5faffe3c97d12b7995d8 /sys/fs/ext2fs/ext2_balloc.c | |
parent | 059400366e7d0ef65fca54397a69daecb7190967 (diff) | |
download | src-3a54024da49359a2782f2e472623c7e81a270f1c.tar.gz src-3a54024da49359a2782f2e472623c7e81a270f1c.zip |
ext2fs: use of tab vs spaces.
Consistently use a single tab after a #define as mentioned in style(9).
Use tabs instead of space for indenting.
Fix a typo: "hash_vesion".
No functional change.
MFC after: 3 days
Notes
Notes:
svn path=/head/; revision=262623
Diffstat (limited to 'sys/fs/ext2fs/ext2_balloc.c')
-rw-r--r-- | sys/fs/ext2fs/ext2_balloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/ext2fs/ext2_balloc.c b/sys/fs/ext2fs/ext2_balloc.c index 9e48f5663e79..335c28a5cd2a 100644 --- a/sys/fs/ext2fs/ext2_balloc.c +++ b/sys/fs/ext2fs/ext2_balloc.c @@ -80,7 +80,7 @@ ext2_balloc(struct inode *ip, e2fs_lbn_t lbn, int size, struct ucred *cred, * If so, increment next_alloc fields to allow ext2_blkpref * to make a good guess */ - if (lbn == ip->i_next_alloc_block + 1) { + if (lbn == ip->i_next_alloc_block + 1) { ip->i_next_alloc_block++; ip->i_next_alloc_goal++; } @@ -167,7 +167,7 @@ ext2_balloc(struct inode *ip, e2fs_lbn_t lbn, int size, struct ucred *cred, EXT2_LOCK(ump); pref = ext2_blkpref(ip, lbn, indirs[0].in_off + EXT2_NDIR_BLOCKS, &ip->i_db[0], 0); - if ((error = ext2_alloc(ip, lbn, pref, fs->e2fs_bsize, cred, + if ((error = ext2_alloc(ip, lbn, pref, fs->e2fs_bsize, cred, &newb))) return (error); nb = newb; |