From 522995296e7a9397065562b8231574ba6c4f3eed Mon Sep 17 00:00:00 2001 From: Aaron Jacobs Date: Mon, 27 Jul 2015 15:44:17 +1000 Subject: [PATCH] Fixed package fuse. --- fuseutil/file_system.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fuseutil/file_system.go b/fuseutil/file_system.go index f02ac31..3ebcdf8 100644 --- a/fuseutil/file_system.go +++ b/fuseutil/file_system.go @@ -29,8 +29,8 @@ import ( // loop" that switches on op types, instead receiving typed method calls // directly. // -// The FileSystem implementation should not call Op.Respond, instead returning -// the error with which the caller should respond. +// The FileSystem implementation should not call Connection.Reply, instead +// returning the error with which the caller should respond. // // See NotImplementedFileSystem for a convenient way to embed default // implementations for methods you don't care about. @@ -110,7 +110,7 @@ func (s *fileSystemServer) ServeOps(c *fuse.Connection) { func (s *fileSystemServer) handleOp( c *fuse.Connection, ctx context.Context, - op fuseops.Op) { + op interface{}) { defer s.opsInFlight.Done() // Dispatch to the appropriate method.