We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently all errors are set like this:
reply.error = aop->write(chunk, len, from, userdata);
which requires to use ntohl inside user buse_operations.
ntohl
buse_operations
I suggest to handle byte order on BUSE side, e.g.:
reply.error = htonl(aop->write(chunk, len, from, userdata));
The text was updated successfully, but these errors were encountered:
I have a question: Doesn't the order of received byte sent after a write request need to be reversed as well ? If not, why?
Sorry, something went wrong.
No branches or pull requests
Currently all errors are set like this:
which requires to use
ntohl
inside userbuse_operations
.I suggest to handle byte order on BUSE side, e.g.:
The text was updated successfully, but these errors were encountered: