-
Notifications
You must be signed in to change notification settings - Fork 130
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
how to implement setlk and getlk rightly #144
Comments
also, I try the branch |
I modify the const INIT_FLAGS: u32 = FUSE_ASYNC_READ ; to const INIT_FLAGS: u32 = FUSE_ASYNC_READ | FUSE_POSIX_LOCKS; to fix it |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I want to handle the file lock in fuse not kernel, so I implement
setlk
andgetlk
method, but I don't see any log about them, even I write apanic!("boom")
, the fuse doesn't panic.Am I doing wrong? If I am wrong, how do I implement them rightly
The text was updated successfully, but these errors were encountered: