Commit 8a92167c authored by Aaron Jacobs's avatar Aaron Jacobs

Updated the signature of fuseops.Convert.

parent de61f1bd
...@@ -26,9 +26,9 @@ import ( ...@@ -26,9 +26,9 @@ import (
// This function is an implementation detail of the fuse package, and must not // This function is an implementation detail of the fuse package, and must not
// be called by anyone else. // be called by anyone else.
// //
// Convert the supplied fuseshim request struct to an Op. finished will be // Convert the supplied fuse kernel message to an Op. finished will be called
// called with the error supplied to o.Respond when the user invokes that // with the error supplied to o.Respond when the user invokes that method,
// method, before a response is sent to the kernel. // before a response is sent to the kernel. o.Respond will destroy the message.
// //
// It is guaranteed that o != nil. If the op is unknown, a special unexported // It is guaranteed that o != nil. If the op is unknown, a special unexported
// type will be used. // type will be used.
...@@ -36,7 +36,7 @@ import ( ...@@ -36,7 +36,7 @@ import (
// The debug logging function and error logger may be nil. // The debug logging function and error logger may be nil.
func Convert( func Convert(
opCtx context.Context, opCtx context.Context,
r fuseshim.Request, m *fuseshim.Message,
debugLogForOp func(int, string, ...interface{}), debugLogForOp func(int, string, ...interface{}),
errorLogger *log.Logger, errorLogger *log.Logger,
finished func(error)) (o Op) { finished func(error)) (o Op) {
......
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