Match struct order to method order.

geesefs-0-30-9
Aaron Jacobs 2015-02-27 09:47:32 +11:00
parent becaff5a8c
commit b9b7ca4f1c
1 changed files with 18 additions and 18 deletions

View File

@ -94,24 +94,6 @@ type InodeAttributes struct {
// Requests and responses
////////////////////////////////////////////////////////////////////////
type OpenDirRequest struct {
// The ID of the inode to be opened.
Inode InodeID
// Mode and options flags.
Flags bazilfuse.OpenFlags
}
type OpenDirResponse struct {
// An opaque ID that will be echoed in follow-up calls for this directory
// using the same struct file in the kernel. In practice this usually means
// follow-up calls using the file descriptor returned by open(2).
//
// The file system must ensure this ID remains valid until a later call to
// ReleaseHandle.
Handle HandleID
}
type LookupRequest struct {
// The ID of the directory inode to which the child belongs.
Parent InodeID
@ -205,3 +187,21 @@ type ForgetInodeRequest struct {
type ForgetInodeResponse struct {
}
type OpenDirRequest struct {
// The ID of the inode to be opened.
Inode InodeID
// Mode and options flags.
Flags bazilfuse.OpenFlags
}
type OpenDirResponse struct {
// An opaque ID that will be echoed in follow-up calls for this directory
// using the same struct file in the kernel. In practice this usually means
// follow-up calls using the file descriptor returned by open(2).
//
// The file system must ensure this ID remains valid until a later call to
// ReleaseHandle.
Handle HandleID
}