Commit 06bacc17 authored by Aaron Jacobs's avatar Aaron Jacobs

Documented the responses that increment the lookup count.

parent a44e5edb
...@@ -128,6 +128,9 @@ type LookUpInodeOp struct { ...@@ -128,6 +128,9 @@ type LookUpInodeOp struct {
Name string Name string
// The resulting entry. Must be filled out by the file system. // The resulting entry. Must be filled out by the file system.
//
// The lookup count for the inode is implicitly incremented. See notes on
// ForgetInodeOp for more information.
Entry ChildInodeEntry Entry ChildInodeEntry
} }
...@@ -278,6 +281,9 @@ type MkDirOp struct { ...@@ -278,6 +281,9 @@ type MkDirOp struct {
Mode os.FileMode Mode os.FileMode
// Set by the file system: information about the inode that was created. // Set by the file system: information about the inode that was created.
//
// The lookup count for the inode is implicitly incremented. See notes on
// ForgetInodeOp for more information.
Entry ChildInodeEntry Entry ChildInodeEntry
} }
...@@ -321,6 +327,9 @@ type CreateFileOp struct { ...@@ -321,6 +327,9 @@ type CreateFileOp struct {
Flags bazilfuse.OpenFlags Flags bazilfuse.OpenFlags
// Set by the file system: information about the inode that was created. // Set by the file system: information about the inode that was created.
//
// The lookup count for the inode is implicitly incremented. See notes on
// ForgetInodeOp for more information.
Entry ChildInodeEntry Entry ChildInodeEntry
// Set by the file system: an opaque ID that will be echoed in follow-up // Set by the file system: an opaque ID that will be echoed in follow-up
......
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