summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1994-08-03 08:19:35 +0000
committerdg <dg@FreeBSD.org>1994-08-03 08:19:35 +0000
commit9de51a06f5d7b329e5a4b7157ff464634db1d0c8 (patch)
tree007385e6bc695377b58ead815d79d7df298fd7d7 /sys
parent0d42d1a776c0f2ae2bbaaae670bf008981de6e5e (diff)
downloadFreeBSD-src-9de51a06f5d7b329e5a4b7157ff464634db1d0c8.zip
FreeBSD-src-9de51a06f5d7b329e5a4b7157ff464634db1d0c8.tar.gz
Changed occurrances of "itrunc" to "ffs_truncate" to make Bruce happy.
Diffstat (limited to 'sys')
-rw-r--r--sys/ufs/ffs/ffs_inode.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/ufs/ffs/ffs_inode.c b/sys/ufs/ffs/ffs_inode.c
index e7cfa0e..2e1c670 100644
--- a/sys/ufs/ffs/ffs_inode.c
+++ b/sys/ufs/ffs/ffs_inode.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)ffs_inode.c 8.5 (Berkeley) 12/30/93
- * $Id: ffs_inode.c,v 1.3 1994/08/02 07:54:20 davidg Exp $
+ * $Id: ffs_inode.c,v 1.4 1994/08/02 13:51:05 davidg Exp $
*/
#include <sys/param.h>
@@ -335,7 +335,7 @@ ffs_truncate(ap)
oip->i_size = length;
newspace = blksize(fs, oip, lastblock);
if (newspace == 0)
- panic("itrunc: newspace");
+ panic("ffs_truncate: newspace");
if (oldspace - newspace > 0) {
/*
* Block number of space to be free'd is
@@ -351,13 +351,13 @@ done:
#ifdef DIAGNOSTIC
for (level = SINGLE; level <= TRIPLE; level++)
if (newblks[NDADDR + level] != oip->i_ib[level])
- panic("itrunc1");
+ panic("ffs_truncate1");
for (i = 0; i < NDADDR; i++)
if (newblks[i] != oip->i_db[i])
- panic("itrunc2");
+ panic("ffs_truncate2");
if (length == 0 &&
(ovp->v_dirtyblkhd.lh_first || ovp->v_cleanblkhd.lh_first))
- panic("itrunc3");
+ panic("ffs_truncate3");
#endif /* DIAGNOSTIC */
/*
* Put back the real size.
OpenPOWER on IntegriCloud