summaryrefslogtreecommitdiff
path: root/ufs
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-11-19 23:18:20 +0000
committerMiles Bader <miles@gnu.org>1996-11-19 23:18:20 +0000
commit9ccbca8119562b5884cbf96e86841793cae6d705 (patch)
tree99276d48b62d07ab113c7a52e721ae326df7d8ce /ufs
parent4f38009266c24ef190d0d1314547c9889b7163d8 (diff)
(ffs_alloc):
Use S_IPTRANS in NP->dn_stat.st_mode instead of NP->istranslated.
Diffstat (limited to 'ufs')
-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);