mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-28 20:15:51 +00:00
Type of StatFs is not always declared as int64 for all the architecture(e.g s390x). The function archConvertStatFs could be reimplemented for other architecture to correctly convert the StatFs.Type. Fixes: #908 Signed-off-by: Alice Frosi <afrosi@de.ibm.com>
11 lines
156 B
Go
11 lines
156 B
Go
// +build !s390x
|
|
//
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
|
|
package main
|
|
|
|
func archConvertStatFs(cgroupFsType int) int64 {
|
|
return int64(cgroupFsType)
|
|
}
|