diff options
author | Miles Bader <miles@gnu.org> | 1996-11-19 22:54:32 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-11-19 22:54:32 +0000 |
commit | e8698059488b4f25b4ef5b63a87b60190a472e7f (patch) | |
tree | 6b36c1af1b6d6419b60e644ee37aa6fedaf0bf36 /ext2fs/ialloc.c | |
parent | ec7126837fb9e4b8b362e3f5b1649069a4e3d6d4 (diff) |
(diskfs_alloc_node):
Clear S_IPTRANS bit in ST->st_mode instead of NP->istranslated.
Diffstat (limited to 'ext2fs/ialloc.c')
-rw-r--r-- | ext2fs/ialloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |