Fix extfs uninitialized inode members.

This commit is contained in:
Jonas 'Sortie' Termansen 2015-01-31 15:04:53 +01:00
parent 3d6fc8438a
commit 22a510e957
1 changed files with 3 additions and 0 deletions

View File

@ -57,8 +57,11 @@ Inode::Inode(Filesystem* filesystem, uint32_t inode_id)
this->next_hashed = NULL;
this->prev_dirty = NULL;
this->next_dirty = NULL;
this->data_block = NULL;
this->data = NULL;
this->filesystem = filesystem;
this->reference_count = 1;
this->remote_reference_count = 1;
this->inode_id = inode_id;
this->dirty = false;
}