From a23b65f52239565f7abddd902d11eeb8b7548e44 Mon Sep 17 00:00:00 2001 From: Hristo Voyvodov Date: Mon, 16 Sep 2024 13:25:20 +0300 Subject: [PATCH] update fuse to 20240909130001-a1c7c8268f12 --- api/common/panic_logger.go | 6 ++++++ go.mod | 4 +--- go.sum | 4 +--- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/api/common/panic_logger.go b/api/common/panic_logger.go index 3c710dfa..b217d3fd 100644 --- a/api/common/panic_logger.go +++ b/api/common/panic_logger.go @@ -46,6 +46,12 @@ func (fs FusePanicLogger) StatFS(ctx context.Context, op *fuseops.StatFSOp) (err defer LogPanic(&err) return fs.Fs.StatFS(ctx, op) } + +// SyncFS implements fuseutil.FileSystem. +func (fs FusePanicLogger) SyncFS(ctx context.Context, op *fuseops.SyncFSOp) (err error) { + defer LogPanic(&err) + return fs.Fs.SyncFS(ctx, op) +} func (fs FusePanicLogger) LookUpInode(ctx context.Context, op *fuseops.LookUpInodeOp) (err error) { defer LogPanic(&err) return fs.Fs.LookUpInode(ctx, op) diff --git a/go.mod b/go.mod index 71c7628c..6da09e6d 100644 --- a/go.mod +++ b/go.mod @@ -14,11 +14,9 @@ require ( github.com/aws/aws-sdk-go v1.44.37 github.com/gofrs/uuid v4.2.0+incompatible github.com/google/uuid v1.3.0 - github.com/hashicorp/golang-lru/v2 v2.0.7 - github.com/jacobsa/fuse v0.0.0-20221016084658-a4cd154343d8 + github.com/jacobsa/fuse v0.0.0-20240909130001-a1c7c8268f12 github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0 github.com/mitchellh/go-homedir v1.1.0 - github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58 github.com/sevlyar/go-daemon v0.1.5 github.com/shirou/gopsutil/v3 v3.24.5 github.com/sirupsen/logrus v1.4.3-0.20190807103436-de736cf91b92 diff --git a/go.sum b/go.sum index 13034969..4760609d 100644 --- a/go.sum +++ b/go.sum @@ -176,14 +176,13 @@ github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/b github.com/hashicorp/go.net v0.0.1/go.mod h1:hjKkEWcCURg++eb33jQU7oqQcI9XDCnUzHA0oac0k90= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/hashicorp/golang-lru/v2 v2.0.7/go.mod h1:QeFd9opnmA6QUJc5vARoKUSoFhyfM2/ZepoAG6RGpeM= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ= github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I= github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= -github.com/jacobsa/fuse v0.0.0-20221016084658-a4cd154343d8/go.mod h1:liOmRdJd8oTwHCQ5M9JemRE3CebdlYcZWLk+ZjQeuq0= +github.com/jacobsa/fuse v0.0.0-20240909130001-a1c7c8268f12/go.mod h1:JYi9iIxdYNgxmMgLwtSHO/hmVnP2kfX1oc+mtx+XWLA= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= @@ -222,7 +221,6 @@ github.com/neelance/astrewrite v0.0.0-20160511093645-99348263ae86/go.mod h1:kHJE github.com/neelance/sourcemap v0.0.0-20200213170602-2833bce08e4c/go.mod h1:Qr6/a/Q4r9LP1IltGz7tA7iOK1WonHEYhu1HRBA7ZiM= github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= -github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58/go.mod h1:DXv8WO4yhMYhSNPKjeNKa5WY9YCIEBRbNzFFPJbWO6Y= github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=