Updated fuseops.Convert.

geesefs-0-30-9
Aaron Jacobs 2015-05-25 14:16:19 +10:00
parent 41f376af5f
commit f650aab183
1 changed files with 9 additions and 1 deletions

View File

@ -15,6 +15,7 @@
package fuseops package fuseops
import ( import (
"log"
"time" "time"
"golang.org/x/net/context" "golang.org/x/net/context"
@ -35,6 +36,7 @@ func Convert(
opCtx context.Context, opCtx context.Context,
r bazilfuse.Request, r bazilfuse.Request,
debugLogForOp func(int, string, ...interface{}), debugLogForOp func(int, string, ...interface{}),
errorLogger *log.Logger,
finished func(error)) (o Op) { finished func(error)) (o Op) {
var co *commonOp var co *commonOp
@ -239,7 +241,13 @@ func Convert(
co = &to.commonOp co = &to.commonOp
} }
co.init(opCtx, io, r, debugLogForOp, finished) co.init(
opCtx,
io,
r,
debugLogForOp,
errorLogger,
finished)
o = io o = io
return return