Commit ab994efc authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Add warning about RawFileSystem.

parent dd5992bb
......@@ -496,8 +496,11 @@ type NotifyInvalEntryOut struct {
//
// /usr/include/fuse/fuse_lowlevel.h
//
// Typically, each call happens in its own goroutine, so any global data should be
// made thread-safe.
// Typically, each call happens in its own goroutine, so any global
// data should be made thread-safe. Unless you really know what you
// are doing, you should not implement this, but PathFileSystem below;
// the details of getting interactions with open files, renames, and
// threading right etc. are somewhat tricky and not very interesting.
type RawFileSystem interface {
Init(h *InHeader, input *InitIn) (out *InitOut, code Status)
Destroy(h *InHeader, input *InitIn)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment