Commit de289915 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

fuse: debug printing for RenameIn.

parent 1adf79ce
......@@ -585,6 +585,7 @@ func init() {
_OP_RELEASEDIR: func(ptr unsafe.Pointer) interface{} { return (*ReleaseIn)(ptr) },
_OP_FALLOCATE: func(ptr unsafe.Pointer) interface{} { return (*FallocateIn)(ptr) },
_OP_READDIRPLUS: func(ptr unsafe.Pointer) interface{} { return (*ReadIn)(ptr) },
_OP_RENAME: func(ptr unsafe.Pointer) interface{} { return (*RenameIn)(ptr) },
} {
operationHandlers[op].DecodeIn = f
}
......
......@@ -105,6 +105,10 @@ func (me *MknodIn) string() string {
return fmt.Sprintf("{0%o (0%o), %d}", me.Mode, me.Umask, me.Rdev)
}
func (me *RenameIn) string() string {
return fmt.Sprintf("{%d}", me.Newdir)
}
func (me *SetAttrIn) string() string {
s := []string{}
if me.Valid&FATTR_MODE != 0 {
......
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