summaryrefslogtreecommitdiff
path: root/libdiskfs/node-drop.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs/node-drop.c')
-rw-r--r--libdiskfs/node-drop.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libdiskfs/node-drop.c b/libdiskfs/node-drop.c
index 8460d49c..ce600abf 100644
--- a/libdiskfs/node-drop.c
+++ b/libdiskfs/node-drop.c
@@ -29,6 +29,9 @@ diskfs_drop_node (struct node *np)
{
assert (!diskfs_readonly);
+ if (np->istranslated)
+ diskfs_set_translator (np, 0, 0, 0);
+
if (np->allocsize != 0)
{
/* If the node needs to be truncated, then a complication