Skip to content

WIP: Introduce new IOCTLs and their structs#9

Draft
casKd-dev wants to merge 2 commits intodennwc:masterfrom
casKd-dev:new-ioctls
Draft

WIP: Introduce new IOCTLs and their structs#9
casKd-dev wants to merge 2 commits intodennwc:masterfrom
casKd-dev:new-ioctls

Conversation

@casKd-dev
Copy link
Copy Markdown
Contributor

As mentioned in #8

@dennwc dennwc self-assigned this Sep 26, 2024
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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