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

Add print routines for Notify outputs.

parent 3a0c7ef7
......@@ -243,3 +243,15 @@ func (me *WriteIn) String() string {
me.LockOwner,
FlagString(OpenFlagNames, int(me.Flags), "RDONLY"))
}
func (o *NotifyInvalEntryOut) String() string {
return fmt.Sprintf("{parent %d sz %d}", o.Parent, o.NameLen)
}
func (o *NotifyInvalInodeOut) String() string {
return fmt.Sprintf("{ino %d off %d sz %d}", o.Ino, o.Off, o.Length)
}
func (o *NotifyInvalDeleteOut) String() string {
return fmt.Sprintf("{parent %d ch %d sz %d}", o.Parent, o.Child, o.NameLen)
}
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