summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ufs/alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ufs/alloc.c b/ufs/alloc.c
index 15d53180..ac72c928 100644
--- a/ufs/alloc.c
+++ b/ufs/alloc.c
@@ -683,7 +683,7 @@ diskfs_alloc_node (struct node *dir,
goto noinodes;
error = diskfs_cached_lookup (ino, &np);
assert ("duplicate allocation" && !np->dn_stat.st_mode);
- assert (!np->istranslated);
+ assert (! (np->dn_stat.st_mode & S_IPTRANS));
if (np->dn_stat.st_blocks) {
printf("free inode %d had %d blocks\n",
ino, np->dn_stat.st_blocks);