Skip to content

Fixes invalid returned fuse errors: - + - = +#57

Open
fviard wants to merge 1 commit into
phatina:masterfrom
fviard:fix-invalid-return-values
Open

Fixes invalid returned fuse errors: - + - = +#57
fviard wants to merge 1 commit into
phatina:masterfrom
fviard:fix-invalid-return-values

Conversation

@fviard
Copy link
Copy Markdown

@fviard fviard commented May 5, 2017

Functions in "mtp-device.cpp" already return a "negative" errno value,
so no need to return "-rval" (negative rval) in fuse.cpp.

Visible effect: real error returned by fuse like "No such files or directories ENOENT" instead of ERANGE.

Functions in "mtp-device.cpp" already return a "negative" errno value,
so no need to return "-rval" (negative rval) in fuse.cpp.

Visible effect: real error returned by fuse like "No such files or directories ENOENT" instead of ERANGE.
Copy link
Copy Markdown
Owner

@phatina phatina left a comment

Choose a reason for hiding this comment

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

OK!

@phatina
Copy link
Copy Markdown
Owner

phatina commented Nov 5, 2019

Please, rebase.

@fviard
Copy link
Copy Markdown
Author

fviard commented Nov 16, 2019

Sorry, I forgot about that. I will rebase soon.

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