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

getattr does not receive fh #82

Closed
amosonn opened this issue Mar 10, 2017 · 2 comments
Closed

getattr does not receive fh #82

amosonn opened this issue Mar 10, 2017 · 2 comments

Comments

@amosonn
Copy link

amosonn commented Mar 10, 2017

In the c libfuse, getattr calls receive fh if there is some (see fuse_lowlevel.c:1087, static void do_getattr). In rust-fuse, only setattr receives _fh: Option<u64>.

@zargony
Copy link
Owner

zargony commented Apr 5, 2017

That's because rust-fuse still uses the FUSE kernel ABI version 7.6 and fh in getattr was introduced in 7.9. We definitely need to add support for newer versions, but it's hard to support a range of versions and it's not unclear yet how rust-fuse should handle it (see also #83).

@zargony
Copy link
Owner

zargony commented Sep 19, 2017

Getattr calls will receive fh after we switched to a newer FUSE kernel ABI in #97

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants