summaryrefslogtreecommitdiff
path: root/libdiskfs/node-drop.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-06-14 20:39:58 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-06-14 20:39:58 +0000
commit2a631784e69249c6dc20dc70e18d36f1b1ea59cc (patch)
treec60bdfe04ff74e450613b6dc65b2d38ccf7a4491 /libdiskfs/node-drop.c
parentb3c889dcc79b37d8feaea94f73e96d74df64583e (diff)
(diskfs_drop_node): Call fshelp_drop_transbox instead of
fshelp_kill_translator; do it *after* the truncate.
Diffstat (limited to 'libdiskfs/node-drop.c')
-rw-r--r--libdiskfs/node-drop.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libdiskfs/node-drop.c b/libdiskfs/node-drop.c
index 74744f67..c163ec46 100644
--- a/libdiskfs/node-drop.c
+++ b/libdiskfs/node-drop.c
@@ -25,7 +25,6 @@ diskfs_drop_node (struct node *np)
{
mode_t savemode;
- fshelp_kill_translator (&np->translator);
if (np->dn_stat.st_nlink == 0)
{
assert (!diskfs_readonly);
@@ -65,6 +64,8 @@ diskfs_drop_node (struct node *np)
else
diskfs_node_update (np, diskfs_synchronous);
+ fshelp_drop_transbox (&np-transbox);
+
if (np->dirmod_reqs)
{
struct dirmod *dm, *tmp;