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

WIP: Introduce new IOCTLs and their structs #9

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

casKd-dev
Copy link
Contributor

As mentioned in #8

@dennwc dennwc self-assigned this Sep 26, 2024
Copy link
Owner

@dennwc dennwc left a comment

Choose a reason for hiding this comment

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

Looks good so far! Anything else you want to add here?

func (arg *btrfs_ioctl_ino_lookup_user_args) Name() string {
n := 0
for i, b := range arg.name {
if b == '\x00' {
Copy link
Owner

Choose a reason for hiding this comment

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

Could be replaced with bytes.IndexByte

@casKd-dev
Copy link
Contributor Author

Looks good so far! Anything else you want to add here?

I am working to also add respective functions that can use these as otherwise they're pretty useless as they aren't exposed to module users.

@casKd-dev casKd-dev marked this pull request as draft September 29, 2024 16:54
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