Skip to content

fuseSynchronizeFile should take fh as a parameter #11

@matil019

Description

@matil019

Nice to meet you.

I'm studying this package by writing an "identity" filesystem whose callbacks just calls corresponding system calls.

I've stumbled upon implementing fuseSynchronizeFile, whose type is FuseOperations fh -> FilePath -> SyncType -> IO Errno. I believe it is supposed to implement fsync(2), which takes a file descriptor. However I can't implement it because it doesn't take fh as a parameter like fuseRead and fuseWrite do.

I think fuseSynchronizeFile should have a type FuseOperations fh -> FilePath -> fh -> SyncType -> IO Errno. I'm ready to write a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions