diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-02-28 21:30:01 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-02-28 21:30:01 +0000 |
commit | 4f2d0e3b74b020ed4ab9bfbd39dec153c051413d (patch) | |
tree | 240729abad8e228b325ad9e6821ea993cc33ce76 /pkg/abi/linux/linux_amd64_abi_autogen_unsafe.go | |
parent | 32e64c40aa2da819422bbcfc8392cba07cf971fc (diff) | |
parent | ccecf29f3ffd1fe2179d95d2c16c7c60d77a6b17 (diff) |
Merge release-20200219.0-71-gccecf29 (automated)
Diffstat (limited to 'pkg/abi/linux/linux_amd64_abi_autogen_unsafe.go')
-rwxr-xr-x | pkg/abi/linux/linux_amd64_abi_autogen_unsafe.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/abi/linux/linux_amd64_abi_autogen_unsafe.go b/pkg/abi/linux/linux_amd64_abi_autogen_unsafe.go index aa5afa819..9b9faaa36 100755 --- a/pkg/abi/linux/linux_amd64_abi_autogen_unsafe.go +++ b/pkg/abi/linux/linux_amd64_abi_autogen_unsafe.go @@ -206,12 +206,12 @@ func (s *Stat) UnmarshalBytes(src []byte) { // Packed implements marshal.Marshallable.Packed. func (s *Stat) Packed() bool { - return s.CTime.Packed() && s.ATime.Packed() && s.MTime.Packed() + return s.ATime.Packed() && s.MTime.Packed() && s.CTime.Packed() } // MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe. func (s *Stat) MarshalUnsafe(dst []byte) { - if s.MTime.Packed() && s.CTime.Packed() && s.ATime.Packed() { + if s.ATime.Packed() && s.MTime.Packed() && s.CTime.Packed() { safecopy.CopyIn(dst, unsafe.Pointer(s)) } else { s.MarshalBytes(dst) |