Commit 6ded0a54 authored by Aaron Jacobs's avatar Aaron Jacobs

Updated commonOp fields.

parent 75e419f3
...@@ -30,8 +30,9 @@ import ( ...@@ -30,8 +30,9 @@ import (
type internalOp interface { type internalOp interface {
Op Op
// Respond to the underlying fuseshim request, successfully. // Create a response message for the kernel, with leading pading for a
respond() // fusekernel.OutHeader struct.
kernelResponse() []byte
} }
// A helper for embedding common behavior. // A helper for embedding common behavior.
...@@ -42,8 +43,11 @@ type commonOp struct { ...@@ -42,8 +43,11 @@ type commonOp struct {
// The op in which this struct is embedded. // The op in which this struct is embedded.
op internalOp op internalOp
// The underlying fuseshim request for this op. // The fuse unique ID of this request, as assigned by the kernel.
bazilReq fuseshim.Request fuseID uint64
// A function that can be used to send a reply to the kernel.
sendReply func([]byte) error
// A function that can be used to log debug information about the op. The // A function that can be used to log debug information about the op. The
// first argument is a call depth. // first argument is a call depth.
......
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