summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fsimpl/fuse/file.go
diff options
context:
space:
mode:
authorJinmou Li <jinmli@google.com>2020-09-16 17:39:55 +0000
committerAndrei Vagin <avagin@gmail.com>2020-09-16 12:22:17 -0700
commit70cf503b4c3653df8253438a8873a5d3ebb688e3 (patch)
tree00d335e91489f54f473301bfaa8af17bda5f2869 /pkg/sentry/fsimpl/fuse/file.go
parent26879c32b8b48b6c066f1a5ba2c787e7061dabae (diff)
fuse: fix FUSE_RELEASE reply handling
fix #3963
Diffstat (limited to 'pkg/sentry/fsimpl/fuse/file.go')
-rw-r--r--pkg/sentry/fsimpl/fuse/file.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/fsimpl/fuse/file.go b/pkg/sentry/fsimpl/fuse/file.go
index 991efcda4..83f2816b7 100644
--- a/pkg/sentry/fsimpl/fuse/file.go
+++ b/pkg/sentry/fsimpl/fuse/file.go
@@ -89,7 +89,7 @@ func (fd *fileDescription) Release(ctx context.Context) {
// No way to invoke Call() with an errored request.
return
}
- req.noReply = true
+ // The reply will be ignored since no callback is defined in asyncCallBack().
conn.CallAsync(kernelTask, req)
}