mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Fix extfs uninitialized inode members.
This commit is contained in:
parent
3d6fc8438a
commit
22a510e957
1 changed files with 3 additions and 0 deletions
|
@ -57,8 +57,11 @@ Inode::Inode(Filesystem* filesystem, uint32_t inode_id)
|
||||||
this->next_hashed = NULL;
|
this->next_hashed = NULL;
|
||||||
this->prev_dirty = NULL;
|
this->prev_dirty = NULL;
|
||||||
this->next_dirty = NULL;
|
this->next_dirty = NULL;
|
||||||
|
this->data_block = NULL;
|
||||||
|
this->data = NULL;
|
||||||
this->filesystem = filesystem;
|
this->filesystem = filesystem;
|
||||||
this->reference_count = 1;
|
this->reference_count = 1;
|
||||||
|
this->remote_reference_count = 1;
|
||||||
this->inode_id = inode_id;
|
this->inode_id = inode_id;
|
||||||
this->dirty = false;
|
this->dirty = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue