diff options
| author | Jakob Unterwurzacher | 2026-11-19 21:14:58 +0100 |
|---|---|---|
| committer | Jakob Unterwurzacher | 2026-11-19 21:25:56 +0100 |
| commit | 173e5056ef8beaa461c5a6665b75e1d97503c5ac (patch) | |
| tree | bfff9a1b18a97bac7ee8b6c4f05d2d9b9fd2cc58 /internal/syscallcompat/sys_freebsd.go | |
| parent | 52c4864d849cbbb76d49d1a908025b77c7246bda (diff) | |
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/syscallcompat/sys_freebsd.go')
| -rw-r--r-- | internal/syscallcompat/sys_freebsd.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/syscallcompat/sys_freebsd.go b/internal/syscallcompat/sys_freebsd.go index 9c8c9e8..626c8b2 100644 --- a/internal/syscallcompat/sys_freebsd.go +++ b/internal/syscallcompat/sys_freebsd.go @@ -6,7 +6,7 @@ import ( "golang.org/x/sys/unix" - "github.com/hanwen/go-fuse/v2/fuse" + "github.com/hanwen/go-fuse/v3/fuse" "github.com/rfjakob/gocryptfs/v2/internal/tlog" ) @@ -81,7 +81,7 @@ func FchmodatNofollow(dirfd int, path string, mode uint32) (err error) { // the operation (see fuse-xfstests generic/375). // // If `context` is nil, this function behaves like ordinary Lsetxattr. -func LsetxattrUser(path string, attr string, data []byte, flags int, context *fuse.Context) (err error) { +func LsetxattrUser(path string, attr string, data []byte, flags int, context *fuse.Caller) (err error) { f := func() (int, error) { err := unix.Lsetxattr(path, attr, data, flags) return -1, err |
