From e8698059488b4f25b4ef5b63a87b60190a472e7f Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Tue, 19 Nov 1996 22:54:32 +0000 Subject: (diskfs_alloc_node): Clear S_IPTRANS bit in ST->st_mode instead of NP->istranslated. --- ext2fs/ialloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext2fs/ialloc.c') diff --git a/ext2fs/ialloc.c b/ext2fs/ialloc.c index 0e3a7e2a..3aa2dc4c 100644 --- a/ext2fs/ialloc.c +++ b/ext2fs/ialloc.c @@ -301,7 +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; + st->st_mode &= ~S_IPTRANS; if (np->allocsize) { ext2_warning ("Free inode %d had a size of %ld", inum, st->st_size); -- cgit v1.2.3