Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ext2 free inode #67

Merged
merged 8 commits into from
Mar 21, 2024
Merged

Ext2 free inode #67

merged 8 commits into from
Mar 21, 2024

Conversation

Galfurian
Copy link
Member

No description provided.

Galfurian and others added 8 commits March 12, 2024 10:29
- Add `ext2_free_inode`;
- Change field `name` of  `ext2_dirent_t`, from fixed-size string to `char *`;
- Write simple and clean, individual `ext2_bitmap_set` and `ext2_bitmap_clear` functions;
- Standardize naming of index conversion functions (from inode to group and block, and vice versa);
- Complete function `ext2_free_block`;
- Complete function `ext2_free_inode`;
- Properly free inode when unlinking file with zero `links_count`;
- Properly clean `ext2_dirent_t` when unlinking file;
- Create a full-size direntry inside the `ext2_direntry_search_t` structure;
- Simplify the way directory search works, and the number of checks;
- Use the new structure inside `ext2_direntry_search_t`;
- Unlink the file at the end of `t_write_read` test;
- Activate all tests again;
…a warning and not an error (keep monitored);
@Galfurian Galfurian merged commit 0272282 into mentos-team:develop Mar 21, 2024
18 checks passed
@Galfurian Galfurian deleted the ext2-free-inode branch April 5, 2024 13:00
@Galfurian Galfurian added the enhancement New feature or request label Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant