diff options
author | Miles Bader <miles@gnu.org> | 1996-01-14 19:26:25 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-01-14 19:26:25 +0000 |
commit | e93a2eaf43d78c52765c39b3ce7b8d0af822cd33 (patch) | |
tree | 950721f0fd01287e94742d7bcf8384091c553c9d /ext2fs | |
parent | e5748014b015d772de34e8b0ab60349ec8b1c7d0 (diff) |
(write_node): If NP isn't translated, force DI->i_translator to 0.
Diffstat (limited to 'ext2fs')
-rw-r--r-- | ext2fs/inode.c | 2 |
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); |