summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
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