diff options
author | Jakob Unterwurzacher | 2020-05-17 14:18:23 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2020-05-17 14:23:47 +0200 |
commit | ec74d1d2f4217a9a337d1db9902f32ae2aecaf33 (patch) | |
tree | 7eb2d57f68996bd10256e8bf79292b1815e2a545 /internal/fusefrontend/fs.go | |
parent | ead7008a08f9ace4591ebbc03e63fdc7ef37e502 (diff) |
Update go-fuse import path to github.com/hanwen/go-fuse/v2
We need
https://github.com/hanwen/go-fuse/commit/fd7328faf9fdf75709f7ba7df7072aaf4eeb18b3
to fix a crash reported in https://github.com/rfjakob/gocryptfs/issues/430 :
2019/10/30 17:14:16 Unknown opcode 2016
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x508d38]
This patch is only in the v2.x.x branch. Upgrade to v2, as the
old API is also supported there.
Running
git grep hanwen/go-fuse | grep -v hanwen/go-fuse/v2
to check for forgotten references comes back clean.
Diffstat (limited to 'internal/fusefrontend/fs.go')
-rw-r--r-- | internal/fusefrontend/fs.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/fusefrontend/fs.go b/internal/fusefrontend/fs.go index dbd8236..e8dae9f 100644 --- a/internal/fusefrontend/fs.go +++ b/internal/fusefrontend/fs.go @@ -12,9 +12,9 @@ import ( "golang.org/x/sys/unix" - "github.com/hanwen/go-fuse/fuse" - "github.com/hanwen/go-fuse/fuse/nodefs" - "github.com/hanwen/go-fuse/fuse/pathfs" + "github.com/hanwen/go-fuse/v2/fuse" + "github.com/hanwen/go-fuse/v2/fuse/nodefs" + "github.com/hanwen/go-fuse/v2/fuse/pathfs" "github.com/rfjakob/gocryptfs/internal/configfile" "github.com/rfjakob/gocryptfs/internal/contentenc" |