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

Commits on Mar 12, 2024

  1. - Add ext2_free_block;

    - Add `ext2_free_inode`;
    Galfurian committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    c579eb2 View commit details
    Browse the repository at this point in the history
  2. - Remove ext2_block_status_t;

    - 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;
    Galfurian committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    8ca3121 View commit details
    Browse the repository at this point in the history
  3. - Fix the type and comment for the field name of ext2_dirent_t;

    - 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;
    Galfurian committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    a5f72ed View commit details
    Browse the repository at this point in the history
  4. - Treat failing to read the inode block in ext2_read_inode_data as …

    …a warning and not an error (keep monitored);
    Galfurian committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    fadae9e View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2024

  1. Configuration menu
    Copy the full SHA
    1f950a4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    58b80e3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b685004 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2024

  1. Configuration menu
    Copy the full SHA
    9e1a6c8 View commit details
    Browse the repository at this point in the history