diff options
| author | Miles Bader <miles@gnu.org> | 1996-11-19 23:18:20 +0000 |
|---|---|---|
| committer | Miles Bader <miles@gnu.org> | 1996-11-19 23:18:20 +0000 |
| commit | 44015af36f54d4d34fe15a2c8f34179acb979def (patch) | |
| tree | 72130dc052fdff2077c6d9ff163ced369c4e065d | |
| parent | 00b56b8817816a221ed49d07c14d5c93a079da4d (diff) | |
(ffs_alloc):
Use S_IPTRANS in NP->dn_stat.st_mode instead of NP->istranslated.
| -rw-r--r-- | ufs/alloc.c | 2 |
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); |
