From 6196a5b5fe78f7a5b8e38c00e656f70c1592e1df Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sun, 12 Jul 2020 12:59:01 +0200 Subject: v2api: File2: implement Release, Read, Write, Fsync, Flush, Allocate Fortunately, this just means fixing up the function signatures. --- internal/fusefrontend/node.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/fusefrontend/node.go') diff --git a/internal/fusefrontend/node.go b/internal/fusefrontend/node.go index ee2d8d9..6cdc552 100644 --- a/internal/fusefrontend/node.go +++ b/internal/fusefrontend/node.go @@ -286,7 +286,7 @@ func (n *Node) Setattr(ctx context.Context, f fs.FileHandle, in *fuse.SetAttrIn, return errno } f2 = f.(*File2) - defer f2.Release() + defer f2.Release(ctx) } return f2.Setattr(ctx, in, out) } -- cgit v1.2.3