Changed method order.
parent
497407fde2
commit
ff42037981
|
@ -114,6 +114,14 @@ type GetInodeAttributesOp struct {
|
|||
AttributesExpiration time.Time
|
||||
}
|
||||
|
||||
func (o *GetInodeAttributesOp) DebugString() string {
|
||||
return fmt.Sprintf(
|
||||
"Inode: %d, Exp: %v, Attr: %s",
|
||||
o.Inode,
|
||||
o.AttributesExpiration,
|
||||
o.Attributes.DebugString())
|
||||
}
|
||||
|
||||
func (o *GetInodeAttributesOp) kernelResponse() (msg []byte) {
|
||||
size := fusekernel.AttrOutSize(fusekernel.Protocol{0, 0})
|
||||
buf := fuseshim.NewBuffer(size)
|
||||
|
@ -125,14 +133,6 @@ func (o *GetInodeAttributesOp) kernelResponse() (msg []byte) {
|
|||
return
|
||||
}
|
||||
|
||||
func (o *GetInodeAttributesOp) DebugString() string {
|
||||
return fmt.Sprintf(
|
||||
"Inode: %d, Exp: %v, Attr: %s",
|
||||
o.Inode,
|
||||
o.AttributesExpiration,
|
||||
o.Attributes.DebugString())
|
||||
}
|
||||
|
||||
// Change attributes for an inode.
|
||||
//
|
||||
// The kernel sends this for obvious cases like chmod(2), and for less obvious
|
||||
|
|
Loading…
Reference in New Issue