Killed bfReq fields.
parent
b0acac98d5
commit
707d5245b0
|
@ -57,7 +57,6 @@ type Op interface {
|
|||
// when resolving user paths to dentry structs, which are then cached.
|
||||
type LookUpInodeOp struct {
|
||||
commonOp
|
||||
bfReq *fuseshim.LookupRequest
|
||||
|
||||
// The ID of the directory inode to which the child belongs.
|
||||
Parent InodeID
|
||||
|
@ -99,7 +98,6 @@ func (o *LookUpInodeOp) kernelResponse() (msg []byte) {
|
|||
// field of ChildInodeEntry, etc.
|
||||
type GetInodeAttributesOp struct {
|
||||
commonOp
|
||||
bfReq *fuseshim.GetattrRequest
|
||||
|
||||
// The inode of interest.
|
||||
Inode InodeID
|
||||
|
@ -126,7 +124,6 @@ func (o *GetInodeAttributesOp) kernelResponse() (msg []byte) {
|
|||
// cases like ftrunctate(2).
|
||||
type SetInodeAttributesOp struct {
|
||||
commonOp
|
||||
bfReq *fuseshim.SetattrRequest
|
||||
|
||||
// The inode of interest.
|
||||
Inode InodeID
|
||||
|
@ -194,7 +191,6 @@ func (o *SetInodeAttributesOp) kernelResponse() (msg []byte) {
|
|||
// implicitly decrementing all lookup counts to zero.
|
||||
type ForgetInodeOp struct {
|
||||
commonOp
|
||||
bfReq *fuseshim.ForgetRequest
|
||||
|
||||
// The inode whose reference count should be decremented.
|
||||
Inode InodeID
|
||||
|
@ -225,7 +221,6 @@ func (o *ForgetInodeOp) kernelResponse() (msg []byte) {
|
|||
// Therefore the file system should return EEXIST if the name already exists.
|
||||
type MkDirOp struct {
|
||||
commonOp
|
||||
bfReq *fuseshim.MkdirRequest
|
||||
|
||||
// The ID of parent directory inode within which to create the child.
|
||||
Parent InodeID
|
||||
|
@ -266,7 +261,6 @@ func (o *MkDirOp) kernelResponse() (msg []byte) {
|
|||
// Therefore the file system should return EEXIST if the name already exists.
|
||||
type CreateFileOp struct {
|
||||
commonOp
|
||||
bfReq *fuseshim.CreateRequest
|
||||
|
||||
// The ID of parent directory inode within which to create the child file.
|
||||
Parent InodeID
|
||||
|
@ -314,7 +308,6 @@ func (o *CreateFileOp) kernelResponse() (msg []byte) {
|
|||
// return EEXIST (cf. the notes on CreateFileOp and MkDirOp).
|
||||
type CreateSymlinkOp struct {
|
||||
commonOp
|
||||
bfReq *fuseshim.SymlinkRequest
|
||||
|
||||
// The ID of parent directory inode within which to create the child symlink.
|
||||
Parent InodeID
|
||||
|
@ -391,7 +384,6 @@ func (o *CreateSymlinkOp) kernelResponse() (msg []byte) {
|
|||
//
|
||||
type RenameOp struct {
|
||||
commonOp
|
||||
bfReq *fuseshim.RenameRequest
|
||||
|
||||
// The old parent directory, and the name of the entry within it to be
|
||||
// relocated.
|
||||
|
@ -418,7 +410,6 @@ func (o *RenameOp) kernelResponse() (msg []byte) {
|
|||
// Sample implementation in ext2: ext2_rmdir (http://goo.gl/B9QmFf)
|
||||
type RmDirOp struct {
|
||||
commonOp
|
||||
bfReq *fuseshim.RemoveRequest
|
||||
|
||||
// The ID of parent directory inode, and the name of the directory being
|
||||
// removed within it.
|
||||
|
@ -439,7 +430,6 @@ func (o *RmDirOp) kernelResponse() (msg []byte) {
|
|||
// Sample implementation in ext2: ext2_unlink (http://goo.gl/hY6r6C)
|
||||
type UnlinkOp struct {
|
||||
commonOp
|
||||
bfReq *fuseshim.RemoveRequest
|
||||
|
||||
// The ID of parent directory inode, and the name of the entry being removed
|
||||
// within it.
|
||||
|
@ -464,7 +454,6 @@ func (o *UnlinkOp) kernelResponse() (msg []byte) {
|
|||
// https://github.com/osxfuse/osxfuse/issues/199).
|
||||
type OpenDirOp struct {
|
||||
commonOp
|
||||
bfReq *fuseshim.OpenRequest
|
||||
|
||||
// The ID of the inode to be opened.
|
||||
Inode InodeID
|
||||
|
@ -492,7 +481,6 @@ func (o *OpenDirOp) kernelResponse() (msg []byte) {
|
|||
// Read entries from a directory previously opened with OpenDir.
|
||||
type ReadDirOp struct {
|
||||
commonOp
|
||||
bfReq *fuseshim.ReadRequest
|
||||
|
||||
// The directory inode that we are reading, and the handle previously
|
||||
// returned by OpenDir when opening that inode.
|
||||
|
@ -599,7 +587,6 @@ func (o *ReadDirOp) kernelResponse() (msg []byte) {
|
|||
// Errors from this op are ignored by the kernel (cf. http://goo.gl/RL38Do).
|
||||
type ReleaseDirHandleOp struct {
|
||||
commonOp
|
||||
bfReq *fuseshim.ReleaseRequest
|
||||
|
||||
// The handle ID to be released. The kernel guarantees that this ID will not
|
||||
// be used in further calls to the file system (unless it is reissued by the
|
||||
|
@ -654,7 +641,6 @@ func (o *OpenFileOp) kernelResponse() (msg []byte) {
|
|||
// more.
|
||||
type ReadFileOp struct {
|
||||
commonOp
|
||||
bfReq *fuseshim.ReadRequest
|
||||
|
||||
// The file inode that we are reading, and the handle previously returned by
|
||||
// CreateFile or OpenFile when opening that inode.
|
||||
|
@ -719,7 +705,6 @@ func (o *ReadFileOp) kernelResponse() (msg []byte) {
|
|||
// concurrent requests".)
|
||||
type WriteFileOp struct {
|
||||
commonOp
|
||||
bfReq *fuseshim.WriteRequest
|
||||
|
||||
// The file inode that we are modifying, and the handle previously returned
|
||||
// by CreateFile or OpenFile when opening that inode.
|
||||
|
@ -784,7 +769,6 @@ func (o *WriteFileOp) kernelResponse() (msg []byte) {
|
|||
// file (but which is not used in "real" file systems).
|
||||
type SyncFileOp struct {
|
||||
commonOp
|
||||
bfReq *fuseshim.FsyncRequest
|
||||
|
||||
// The file and handle being sync'd.
|
||||
Inode InodeID
|
||||
|
@ -845,7 +829,6 @@ func (o *SyncFileOp) kernelResponse() (msg []byte) {
|
|||
// return any errors that occur.
|
||||
type FlushFileOp struct {
|
||||
commonOp
|
||||
bfReq *fuseshim.FlushRequest
|
||||
|
||||
// The file and handle being flushed.
|
||||
Inode InodeID
|
||||
|
@ -867,7 +850,6 @@ func (o *FlushFileOp) kernelResponse() (msg []byte) {
|
|||
// Errors from this op are ignored by the kernel (cf. http://goo.gl/RL38Do).
|
||||
type ReleaseFileHandleOp struct {
|
||||
commonOp
|
||||
bfReq *fuseshim.ReleaseRequest
|
||||
|
||||
// The handle ID to be released. The kernel guarantees that this ID will not
|
||||
// be used in further calls to the file system (unless it is reissued by the
|
||||
|
@ -904,7 +886,6 @@ func (o *unknownOp) kernelResponse() (msg []byte) {
|
|||
// Read the target of a symlink inode.
|
||||
type ReadSymlinkOp struct {
|
||||
commonOp
|
||||
bfReq *fuseshim.ReadlinkRequest
|
||||
|
||||
// The symlink inode that we are reading.
|
||||
Inode InodeID
|
||||
|
|
Loading…
Reference in New Issue