From 41203dc31387ee4a0c92291b98b65af427c2ac98 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Wed, 5 Oct 1994 16:58:39 +0000 Subject: Formerly alloc.c.~18~ --- ufs/alloc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ufs/alloc.c b/ufs/alloc.c index c881454b..4464dfa0 100644 --- a/ufs/alloc.c +++ b/ufs/alloc.c @@ -546,6 +546,7 @@ diskfs_alloc_node (struct node *dir, goto noinodes; error = iget (ino, &np); assert ("duplicate allocation" && !np->dn_stat.st_mode); + assert (!np->istranslated); if (np->dn_stat.st_blocks) { printf("free inode %d had %d blocks\n", ino, np->dn_stat.st_blocks); -- cgit v1.2.3