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

Correct workaround condition for not using handle in sshfs_getattr #127

Merged
merged 1 commit into from
Jun 20, 2018
Merged

Correct workaround condition for not using handle in sshfs_getattr #127

merged 1 commit into from
Jun 20, 2018

Conversation

rianhunter
Copy link
Contributor

In libfuse<3, when fstat_workaround was true, that meant to always
use the path argument to resolve fgetattr instead of the supplied
handle. Before this change, the logic was interpreting
fstat_workaround to not use the path argument when it was
true. This change reverts to the libfuse<3 behavior.

@Nikratio
Copy link
Contributor

Nikratio commented Jun 4, 2018

Could you explain why one of the two is the better choice (leaving aside how it was done it the past)? Also, could you include a patch to the documentation?

@Nikratio
Copy link
Contributor

Nikratio commented Jun 4, 2018

Also: thanks for tracking this down and reporting it!

@rianhunter
Copy link
Contributor Author

rianhunter commented Jun 4, 2018 via email

@Nikratio
Copy link
Contributor

Nikratio commented Jun 7, 2018

Got it, thanks. Could you please also update ChangeLog.rst though?

@rianhunter
Copy link
Contributor Author

rianhunter commented Jun 7, 2018 via email

@rianhunter
Copy link
Contributor Author

Hmm, I made a new release commit to the best of my ability. Let me know if I did the correct thing.

@Nikratio
Copy link
Contributor

Nikratio commented Jun 8, 2018

Thanks, but there's no need to make a new release. Just add something along the lines of "The fstat workaround is now working correctly again" to the top of the ChangeLog.rst file. No need to bump the version.

@rianhunter
Copy link
Contributor Author

Okay I have updated my repo with the corresponding ChangeLog.rst entry.

In libfuse<3, when `fstat_workaround` was true, that meant to always
use the `path` argument to resolve fgetattr instead of the supplied
handle.  Before this change, the logic was interpreting
`fstat_workaround` to not use the `path` argument when it was
true. This change reverts to the libfuse<3 behavior.
@Nikratio Nikratio merged commit fc7a57f into libfuse:master Jun 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants