aboutsummaryrefslogtreecommitdiff
path: root/internal/fusefrontend/node_xattr_linux.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2026-11-19 21:14:58 +0100
committerJakob Unterwurzacher2026-11-19 21:25:56 +0100
commit173e5056ef8beaa461c5a6665b75e1d97503c5ac (patch)
treebfff9a1b18a97bac7ee8b6c4f05d2d9b9fd2cc58 /internal/fusefrontend/node_xattr_linux.go
parent52c4864d849cbbb76d49d1a908025b77c7246bda (diff)
go.mod: upgrade to go-fuse v3 (current master 1ffd5bd2bfc64)HEADmaster
go-fuse master is now github.com/hanwen/go-fuse/v3. Changes needed: * Change the import path, also in build.bash and version.go, which look up the go-fuse module version. * fuse.Context is gone, and fuse.FromContext() now returns a fuse.Caller value. Caller has the same Owner and Pid fields, so use *fuse.Caller in place of *fuse.Context. * fuse.Status is replaced by syscall.Errno, so ReadResult.Bytes() returns an Errno now. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'internal/fusefrontend/node_xattr_linux.go')
-rw-r--r--internal/fusefrontend/node_xattr_linux.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/fusefrontend/node_xattr_linux.go b/internal/fusefrontend/node_xattr_linux.go
index 9964212..b1f8f39 100644
--- a/internal/fusefrontend/node_xattr_linux.go
+++ b/internal/fusefrontend/node_xattr_linux.go
@@ -6,8 +6,8 @@ import (
"golang.org/x/sys/unix"
- "github.com/hanwen/go-fuse/v2/fs"
- "github.com/hanwen/go-fuse/v2/fuse"
+ "github.com/hanwen/go-fuse/v3/fs"
+ "github.com/hanwen/go-fuse/v3/fuse"
"github.com/rfjakob/gocryptfs/v2/internal/syscallcompat"
)
@@ -34,7 +34,7 @@ func (n *Node) getXAttr(cAttr string) (out []byte, errno syscall.Errno) {
return cData, 0
}
-func (n *Node) setXAttr(context *fuse.Context, cAttr string, cData []byte, flags uint32) (errno syscall.Errno) {
+func (n *Node) setXAttr(context *fuse.Caller, cAttr string, cData []byte, flags uint32) (errno syscall.Errno) {
dirfd, cName, errno := n.prepareAtSyscallMyself()
if errno != 0 {
return