summaryrefslogtreecommitdiff
path: root/ext2fs/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext2fs/inode.c')
-rw-r--r--ext2fs/inode.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext2fs/inode.c b/ext2fs/inode.c
index 638e5b15..5ae1375b 100644
--- a/ext2fs/inode.c
+++ b/ext2fs/inode.c
@@ -308,6 +308,8 @@ write_node (struct node *np)
di->i_blocks = st->st_blocks;
di->i_flags = st->st_flags;
+ if (! np->istranslated)
+ di->i_translator = 0;
/* Set dtime non-zero to indicate a deleted file. */
di->i_dtime = (st->st_mode ? 0 : di->i_mtime);