Add FIO_HAVE_FS_STAT/get_fs_free_size() support for OpenBSD
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Mon, 17 Oct 2016 14:17:39 +0000 (23:17 +0900)
committerJens Axboe <axboe@fb.com>
Mon, 17 Oct 2016 14:12:58 +0000 (08:12 -0600)
commit1abe3856051e0834f707aeaa05626473815d48bd
tree0cbd9502ae1fa0e94f7cc23f24aecf970493def0
parenta016c83881fbdc30a62da231314cc21054cd10af
Add FIO_HAVE_FS_STAT/get_fs_free_size() support for OpenBSD

This commit is OpenBSD version of 60f840a8 in 2015.
This is the same as 60f840a8, as well as the previous commit
for NetBSD, as it uses POSIX statvfs.

Note that fio doesn't compile on OpenBSD 5.9 (hits lex error),
but this this commit should still be good since this function
alone compiles on OpenBSD.

(Note that the function was renamed with _free in c08ad04c)

Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
os/os-openbsd.h