From 26adb3c4747288aba2475cb403d66d68481793dc Mon Sep 17 00:00:00 2001 From: Fabricio Voznika Date: Wed, 28 Apr 2021 17:00:47 -0700 Subject: Automated rollback of changelist 369686285 PiperOrigin-RevId: 371015541 --- pkg/sentry/fsimpl/gofer/p9file.go | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'pkg/sentry/fsimpl/gofer/p9file.go') 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 +} -- cgit v1.2.3