diff options
author | gVisor bot <gvisor-bot@google.com> | 2021-04-19 23:28:55 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-04-19 23:28:55 +0000 |
commit | ae3938ad39944b0d67ba0a6aba8efad9307b9868 (patch) | |
tree | 2110852b9f8b1d31a52690129c23cfa615653f0c /pkg/sentry/fsimpl/gofer/p9file.go | |
parent | 3b35fa0cf4df131453bad8bab0902e97d0163ea0 (diff) | |
parent | 276ff149a4555b69c4c99fdcd4e1a22ccc8b9463 (diff) |
Merge release-20210412.0-32-g276ff149a (automated)
Diffstat (limited to 'pkg/sentry/fsimpl/gofer/p9file.go')
-rw-r--r-- | pkg/sentry/fsimpl/gofer/p9file.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkg/sentry/fsimpl/gofer/p9file.go b/pkg/sentry/fsimpl/gofer/p9file.go index 21b4a96fe..b0a429d42 100644 --- a/pkg/sentry/fsimpl/gofer/p9file.go +++ b/pkg/sentry/fsimpl/gofer/p9file.go @@ -238,3 +238,10 @@ func (f p9file) connect(ctx context.Context, flags p9.ConnectFlags) (*fd.FD, err ctx.UninterruptibleSleepFinish(false) return fdobj, err } + +func (f p9file) multiGetAttr(ctx context.Context, names []string) ([]p9.FullStat, error) { + ctx.UninterruptibleSleepStart(false) + stats, err := f.file.MultiGetAttr(names) + ctx.UninterruptibleSleepFinish(false) + return stats, err +} |