Commit a5b7862c authored by Aaron Jacobs's avatar Aaron Jacobs

Fixed the Convert interface.

parent af893b82
...@@ -28,9 +28,9 @@ import ( ...@@ -28,9 +28,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 fuse kernel message to an Op. finished will be called // Convert the supplied fuse kernel message to an Op. sendReply will be used to
// with the error supplied to o.Respond when the user invokes that method, // send the reply back to the kernel once the user calls o.Respond. That
// before a response is sent to the kernel. o.Respond will destroy the message. // function is responsible for destroying 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.
...@@ -42,7 +42,7 @@ func Convert( ...@@ -42,7 +42,7 @@ func Convert(
protocol fusekernel.Protocol, protocol fusekernel.Protocol,
debugLogForOp func(int, string, ...interface{}), debugLogForOp func(int, string, ...interface{}),
errorLogger *log.Logger, errorLogger *log.Logger,
finished func(error)) (o Op) { sendReply replyFunc) (o Op) {
var co *commonOp var co *commonOp
var io internalOp var io internalOp
......
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