Skip to content

Support for linux 6.18 and up#84

Merged
jserv merged 4 commits intosysprog21:masterfrom
EricKim27:master
May 4, 2026
Merged

Support for linux 6.18 and up#84
jserv merged 4 commits intosysprog21:masterfrom
EricKim27:master

Conversation

@EricKim27
Copy link
Copy Markdown
Contributor

@EricKim27 EricKim27 commented Apr 27, 2026

This commit adds changes to align with the changed linux kernel API in linux kernel 6.18 and up. This commit includes addition of fs_context operations, get_tree, modifications to fill_super, and other related functions.


Summary by cubic

Add Linux kernel 6.18+ support by moving to the fs_context API and updating mount and inode handling. Backward compatible; option parsing is off on 6.18+ for now, and coding style issues are fixed.

  • New Features

    • Implement fs_context path: get_tree and init_fs_context hook; fallback to simplefs_mount on <6.18.
    • Update fill_super signature for >=6.18; wire into get_tree_bdev.
    • Use inode_state_read_once on >=6.19 for the updated inode_state layout.
    • Disable simplefs_parse_options in fill_super on >=6.18; keep parsing on <=6.17.
  • Refactors

    • Fixed coding style errors and aligned comments/includes; no behavior changes.

Written for commit e6872af. Summary will update on new commits.

Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 4 files

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="fs.c">

<violation number="1" location="fs.c:18">
P1: 6.18+ fs_context mount path omits option parsing callbacks, so mount options are not processed (functional regression).</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

Comment thread fs.c Outdated
@EricKim27 EricKim27 marked this pull request as draft April 27, 2026 10:16
@EricKim27 EricKim27 marked this pull request as ready for review April 27, 2026 10:16
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 5 files

@jserv jserv merged commit e5e4691 into sysprog21:master May 4, 2026
4 checks passed
@jserv
Copy link
Copy Markdown
Collaborator

jserv commented May 4, 2026

Thank @EricKim27 for contributing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants