summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-11-19 22:43:57 +0000
committerMiles Bader <miles@gnu.org>1996-11-19 22:43:57 +0000
commitadcf471bba18b584ac1de0b263c824be41a25be8 (patch)
tree6f26b95143c6f1ff67fad56e10652d79190a96bf /libdiskfs
parent405444928b0b788bd1b757daf344fad65da204b5 (diff)
(diskfs_drop_node):
Use S_IPTRANS bit in dn_stat st_mode field rather than istranslated field.
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/node-drop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/node-drop.c b/libdiskfs/node-drop.c
index d24bd86d..7c30f946 100644
--- a/libdiskfs/node-drop.c
+++ b/libdiskfs/node-drop.c
@@ -30,7 +30,7 @@ diskfs_drop_node (struct node *np)
diskfs_check_readonly ();
assert (!diskfs_readonly);
- if (np->istranslated)
+ if (np->dn_stat.st_mode & S_IPTRANS)
diskfs_set_translator (np, 0, 0, 0);
if (np->allocsize != 0