summaryrefslogtreecommitdiff
path: root/ufs/alloc.c
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
commit41203dc31387ee4a0c92291b98b65af427c2ac98 (patch)
tree572ff3f2216921371f661320f1359573258f7f50 /ufs/alloc.c
parent806387e26a5e7c72823046b891e1762fc5be04ee (diff)
Formerly alloc.c.~18~
Diffstat (limited to 'ufs/alloc.c')
-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);