summaryrefslogtreecommitdiff
path: root/ext2fs
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-01-04 01:39:33 +0000
committerRoland McGrath <roland@gnu.org>2002-01-04 01:39:33 +0000
commitad4c6364ec66d10bddf26b3ca559347acc6d85c8 (patch)
treefd0e3735dfdb8eee9fb5dea74e0594c40dfa3aea /ext2fs
parent3ceb0363d903fc76d1b30f0fadff74edc772754b (diff)
2002-01-03 Roland McGrath <roland@frob.com>
* inode.c (write_node): Never clear i_translator here. That is only done by diskfs_set_translator.
Diffstat (limited to 'ext2fs')
-rw-r--r--ext2fs/inode.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/ext2fs/inode.c b/ext2fs/inode.c
index 269fea6b..31e3e9f6 100644
--- a/ext2fs/inode.c
+++ b/ext2fs/inode.c
@@ -1,6 +1,6 @@
/* Inode management routines
- Copyright (C) 1994,95,96,97,98,99,2000,01 Free Software Foundation, Inc.
+ Copyright (C) 1994,95,96,97,98,99,2000,01,02 Free Software Foundation, Inc.
Converted for ext2fs by Miles Bader <miles@gnu.org>
@@ -478,9 +478,6 @@ write_node (struct node *np)
di->i_dtime = 0;
di->i_size = st->st_size;
di->i_blocks = st->st_blocks;
- if (!(st->st_mode & S_IPTRANS)
- && sblock->s_creator_os == EXT2_OS_HURD)
- di->i_translator = 0;
}
if (S_ISCHR(st->st_mode) || S_ISBLK(st->st_mode))