summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-03-20 19:33:07 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-03-20 19:33:07 +0000
commitead1807070d3847021bf10b904ef8bd28afbe898 (patch)
tree0bdca9520ec0cceff3bb9d16f8b013cbbb099ec4 /sys
parent8a60c3182c33aa7d7b8c5037e70a17ba5bfb36cd (diff)
cleanup
Diffstat (limited to 'sys')
-rw-r--r--sys/ufs/ffs/ffs_balloc.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/ufs/ffs/ffs_balloc.c b/sys/ufs/ffs/ffs_balloc.c
index 6656b817eac..4fc440ceedb 100644
--- a/sys/ufs/ffs/ffs_balloc.c
+++ b/sys/ufs/ffs/ffs_balloc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ffs_balloc.c,v 1.11 2001/03/15 11:43:20 art Exp $ */
+/* $OpenBSD: ffs_balloc.c,v 1.12 2001/03/20 19:33:06 art Exp $ */
/* $NetBSD: ffs_balloc.c,v 1.3 1996/02/09 22:22:21 christos Exp $ */
/*
@@ -95,7 +95,7 @@ ffs_balloc(v)
lbn = lblkno(fs, ap->a_startoffset);
size = blkoff(fs, ap->a_startoffset) + ap->a_size;
if (size > fs->fs_bsize)
- panic("ffs_balloc; blk too big");
+ panic("ffs_balloc: blk too big");
*ap->a_bpp = NULL;
if (lbn < 0)
return (EFBIG);
@@ -163,7 +163,7 @@ ffs_balloc(v)
}
} else {
error = ffs_realloccg(ip, lbn,
- ffs_blkpref(ip, lbn, (int)lbn,
+ ffs_blkpref(ip, lbn, (int)lbn,
&ip->i_ffs_db[0]),
osize, nsize, cred, &bp);
if (error)
@@ -171,7 +171,7 @@ ffs_balloc(v)
if (DOINGSOFTDEP(vp))
softdep_setup_allocdirect(ip, lbn,
dbtofsb(fs, bp->b_blkno), nb,
- nsize, osize, bp);
+ nsize, osize, bp);
}
} else {
if (ip->i_ffs_size < lblktosize(fs, lbn + 1))
@@ -190,7 +190,6 @@ ffs_balloc(v)
if (DOINGSOFTDEP(vp))
softdep_setup_allocdirect(ip, lbn, newb, 0,
nsize, 0, bp);
-
}
ip->i_ffs_db[lbn] = dbtofsb(fs, bp->b_blkno);
ip->i_flag |= IN_CHANGE | IN_UPDATE;