Skip to content

Conversation

@OscarL
Copy link
Contributor

@OscarL OscarL commented Jan 18, 2026

Two commits:


vmware_fs: remove the "buffer_is_user" parameter from ReadFile()/WriteFile().

This was introduced in #48, with a default value of false. But the methods were only ever called with it set to true.

AFAICS, the buffer in question always comes from (and goes to) userspace, so the unconditional use of user_memcpy() in those methods seems to be the correct choice anyway.

Also: removed a duplicated comment line (added on #48 too).


and:


vmware_fs: put root vnode on unmount.

Avoids the ASSERT on #64.

…eFile().

This was introduced in HaikuArchives#48, with a default value of `false`. But the methods
were only ever called with it set to `true`.

AFAICS, the buffer in question always comes from (and goes to) userspace, so the
unconditional use of `user_memcpy()` in those methods seems to be the correct
choice anyway.

Also: removed a duplicated comment line (added on HaikuArchives#48 too).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant