Commit 4275c93d authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

fuse: tweak some comments.

parent 1bcdf26c
...@@ -126,16 +126,8 @@ type RawFileSystem interface { ...@@ -126,16 +126,8 @@ type RawFileSystem interface {
// //
StatFs(out *raw.StatfsOut, context *Context) (code Status) StatFs(out *raw.StatfsOut, context *Context) (code Status)
// This is called on processing the first request. This call // This is called on processing the first request. The
// is intended so the filesystem can talk back to the kernel // filesystem implementation can use the server argument to
// (through notify methods) and has access to debug data. // talk back to the kernel (through notify methods).
Init(*Server) Init(*Server)
} }
// Talk back to FUSE.
//
//
//
// Somewhat confusingly, InodeNotify for a file that stopped to exist
// will give the correct result for Lstat (ENOENT), but the kernel
// will still issue file Open() on the inode.
...@@ -21,6 +21,7 @@ const ( ...@@ -21,6 +21,7 @@ const (
_DEFAULT_BACKGROUND_TASKS = 12 _DEFAULT_BACKGROUND_TASKS = 12
) )
// Status is the errno number that a FUSE call returns to the kernel.
type Status int32 type Status int32
const ( const (
......
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