summaryrefslogtreecommitdiff
path: root/libdiskfs/node-drop.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-10-05 17:00:36 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-10-05 17:00:36 +0000
commitbd4311939201c82532ac1a7ba6d40235fbc456bf (patch)
treec263dcfe40085407cd9365137a02afebb59823bc /libdiskfs/node-drop.c
parent41203dc31387ee4a0c92291b98b65af427c2ac98 (diff)
entered into RCS
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