summaryrefslogtreecommitdiff
path: root/ufs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-10-05 16:58:39 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-10-05 16:58:39 +0000
commitda152d2b61bf591ce23d89b40db10a92989159b5 (patch)
tree2daadc9f1cd98858b824a2e04683226a0e3e4009 /ufs
parent37983942de858432043318761c826d0e69ce3fe7 (diff)
Formerly alloc.c.~18~
Diffstat (limited to 'ufs')
-rw-r--r--ufs/alloc.c1
1 files changed, 1 insertions, 0 deletions
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);