diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-07-16 04:25:26 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-07-16 04:25:26 +0000 |
commit | 024b12466e7bcd049da21616d31628ab4b7713b7 (patch) | |
tree | 1c9b26f62c708b358398cbf0817c27509d62d785 /pkg/sentry/fsimpl/pipefs | |
parent | 97e149dba422a98f771fff0ec37f8eaae8a6b7de (diff) | |
parent | 0a745cb3432d70b9b11adbe34a3d6b618f84419f (diff) |
Merge release-20200622.1-170-g0a745cb34 (automated)
Diffstat (limited to 'pkg/sentry/fsimpl/pipefs')
-rw-r--r-- | pkg/sentry/fsimpl/pipefs/pipefs.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/fsimpl/pipefs/pipefs.go b/pkg/sentry/fsimpl/pipefs/pipefs.go index dd7eaf4a8..811f80a5f 100644 --- a/pkg/sentry/fsimpl/pipefs/pipefs.go +++ b/pkg/sentry/fsimpl/pipefs/pipefs.go @@ -115,7 +115,7 @@ func (i *inode) Mode() linux.FileMode { } // Stat implements kernfs.Inode.Stat. -func (i *inode) Stat(vfsfs *vfs.Filesystem, opts vfs.StatOptions) (linux.Statx, error) { +func (i *inode) Stat(_ context.Context, vfsfs *vfs.Filesystem, opts vfs.StatOptions) (linux.Statx, error) { ts := linux.NsecToStatxTimestamp(i.ctime.Nanoseconds()) return linux.Statx{ Mask: linux.STATX_TYPE | linux.STATX_MODE | linux.STATX_NLINK | linux.STATX_UID | linux.STATX_GID | linux.STATX_ATIME | linux.STATX_MTIME | linux.STATX_CTIME | linux.STATX_INO | linux.STATX_SIZE | linux.STATX_BLOCKS, |