InternalStatFSOp.kernelResponse

geesefs-0-30-9
Aaron Jacobs 2015-07-24 10:35:51 +10:00
parent 707d5245b0
commit 738a1dad7d
1 changed files with 3 additions and 1 deletions

View File

@ -915,7 +915,9 @@ type InternalStatFSOp struct {
}
func (o *InternalStatFSOp) kernelResponse() (msg []byte) {
panic("TODO")
buf := fuseshim.NewBuffer(unsafe.Sizeof(fusekernel.StatfsOut{}))
buf.Alloc(unsafe.Sizeof(fusekernel.StatfsOut{}))
return
}
// Do not use this struct directly. See the TODO in fuseops/ops.go.