diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-12-08 02:04:04 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-12-08 02:04:04 +0000 |
commit | c0d72f309e5598b330b021b6a418e113c6341d86 (patch) | |
tree | ba0fc9a738d4c876cde4b8bb448d9537e839bb05 /pkg/sentry/fsimpl/fuse/connection_control.go | |
parent | b7fa4b377a773a969f6ece922562454767305f99 (diff) | |
parent | 9c198e5df4216feb5ebbf144e3b616888dfe3c27 (diff) |
Merge release-20201130.0-61-g9c198e5df (automated)
Diffstat (limited to 'pkg/sentry/fsimpl/fuse/connection_control.go')
-rw-r--r-- | pkg/sentry/fsimpl/fuse/connection_control.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/pkg/sentry/fsimpl/fuse/connection_control.go b/pkg/sentry/fsimpl/fuse/connection_control.go index 1b3459c1d..4ab894965 100644 --- a/pkg/sentry/fsimpl/fuse/connection_control.go +++ b/pkg/sentry/fsimpl/fuse/connection_control.go @@ -84,11 +84,7 @@ func (conn *connection) InitSend(creds *auth.Credentials, pid uint32) error { Flags: fuseDefaultInitFlags, } - req, err := conn.NewRequest(creds, pid, 0, linux.FUSE_INIT, &in) - if err != nil { - return err - } - + req := conn.NewRequest(creds, pid, 0, linux.FUSE_INIT, &in) // Since there is no task to block on and FUSE_INIT is the request // to unblock other requests, use nil. return conn.CallAsync(nil, req) |