summaryrefslogtreecommitdiff
path: root/ext2fs
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-01-14 19:27:02 +0000
committerMiles Bader <miles@gnu.org>1996-01-14 19:27:02 +0000
commit721e76bbab29afa823f2ef7a4bf13a23005a207c (patch)
tree1d65991f74d47257853c38f96fc84b972bac9225 /ext2fs
parente93a2eaf43d78c52765c39b3ce7b8d0af822cd33 (diff)
(diskfs_alloc_node): Set NP->istranslated to 0.
Diffstat (limited to 'ext2fs')
-rw-r--r--ext2fs/ialloc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext2fs/ialloc.c b/ext2fs/ialloc.c
index 8f165bec..cefc6850 100644
--- a/ext2fs/ialloc.c
+++ b/ext2fs/ialloc.c
@@ -301,6 +301,7 @@ diskfs_alloc_node (struct node *dir, mode_t mode, struct node **node)
np->dn->info.i_data[block] = 0;
np->dn_set_ctime = 1;
}
+ np->istranslated = 0;
if (np->allocsize)
{
ext2_warning ("Free inode %d had a size of %ld", inum, st->st_size);