commit | 3ae3024cae07fe7e85968ad2583add350616b296 | [log] [tgz] |
---|---|---|
author | Ian Lance Taylor <iant@golang.org> | Tue Mar 05 09:51:25 2019 -0800 |
committer | Ian Lance Taylor <iant@golang.org> | Tue Mar 05 20:48:40 2019 +0000 |
tree | 2371c55c2cf7a240ba8357052dc800d2f4da6973 | |
parent | 689d5bda159300dc12f559de2d47b8c1c762fcb9 [diff] |
sysinfo: add Flags to Statfs_t if not already there If there is no f_flags field in statfs_t then rename one of the f_spare fields, as happened in Linux kernel version 2.6.36. This fixes the build on CentOS 5.11. The CentOS kernel will hopefully not fill in the f_spare field, so the resulting flags will be zero. Change-Id: Icfa5ea067d4b296ce1b36a4abb357c106f180bf9 Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/165417 Reviewed-by: Than McIntosh <thanm@google.com>