diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 1998-12-01 23:32:53 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 1998-12-01 23:32:53 +0000 |
commit | 65cd23b6141badb9b58c7748aea508f72fd9ba58 (patch) | |
tree | 29cce825c4207d60551cf9f071c13ce44a6207af | |
parent | c3273e93c09ce16254a488297ecbfd59392e432e (diff) |
remove the itrunc3 panic
(if someone can convince me that the call to vinvalbuf won't keep the buffers
for the metadata, I will put it back)
-rw-r--r-- | sys/ufs/ffs/ffs_inode.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/ufs/ffs/ffs_inode.c b/sys/ufs/ffs/ffs_inode.c index 57871428de2..77a56005ad8 100644 --- a/sys/ufs/ffs/ffs_inode.c +++ b/sys/ufs/ffs/ffs_inode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ffs_inode.c,v 1.10 1998/11/29 03:47:15 art Exp $ */ +/* $OpenBSD: ffs_inode.c,v 1.11 1998/12/01 23:32:52 art Exp $ */ /* $NetBSD: ffs_inode.c,v 1.10 1996/05/11 18:27:19 mycroft Exp $ */ /* @@ -412,9 +412,6 @@ done: for (i = 0; i < NDADDR; i++) if (newblks[i] != oip->i_ffs_db[i]) panic("itrunc2"); - if (length == 0 && - (ovp->v_dirtyblkhd.lh_first || ovp->v_cleanblkhd.lh_first)) - panic("itrunc3"); #endif /* DIAGNOSTIC */ /* * Put back the real size. |