From 642ba3f2d6f47622d45e4632909626c6b151e696 Mon Sep 17 00:00:00 2001 From: Steve Wills Date: Mon, 15 Mar 2021 17:02:36 -0400 Subject: [PATCH] fix: runtime issue on FreeBSD due to missing O_NOATIME/O_DSYNC support (#11790) See also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253937 --- cmd/xl-storage_noatime_notsupported.go | 2 +- cmd/xl-storage_noatime_supported.go | 2 +- pkg/ioutil/read_file_noatime_notsupported.go | 2 +- pkg/ioutil/read_file_noatime_supported.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/xl-storage_noatime_notsupported.go b/cmd/xl-storage_noatime_notsupported.go index ce590005d..a5a00d5b6 100644 --- a/cmd/xl-storage_noatime_notsupported.go +++ b/cmd/xl-storage_noatime_notsupported.go @@ -1,4 +1,4 @@ -// +build windows darwin +// +build windows darwin freebsd /* * MinIO Cloud Storage, (C) 2021 MinIO, Inc. diff --git a/cmd/xl-storage_noatime_supported.go b/cmd/xl-storage_noatime_supported.go index b286b3b17..ca50d1f86 100644 --- a/cmd/xl-storage_noatime_supported.go +++ b/cmd/xl-storage_noatime_supported.go @@ -1,4 +1,4 @@ -// +build !windows,!darwin +// +build !windows,!darwin,!freebsd /* * MinIO Cloud Storage, (C) 2021 MinIO, Inc. diff --git a/pkg/ioutil/read_file_noatime_notsupported.go b/pkg/ioutil/read_file_noatime_notsupported.go index 29391f9e9..013ff3990 100644 --- a/pkg/ioutil/read_file_noatime_notsupported.go +++ b/pkg/ioutil/read_file_noatime_notsupported.go @@ -1,4 +1,4 @@ -// +build windows darwin +// +build windows darwin freebsd /* * MinIO Cloud Storage, (C) 2021 MinIO, Inc. diff --git a/pkg/ioutil/read_file_noatime_supported.go b/pkg/ioutil/read_file_noatime_supported.go index 58819185d..c632164bf 100644 --- a/pkg/ioutil/read_file_noatime_supported.go +++ b/pkg/ioutil/read_file_noatime_supported.go @@ -1,4 +1,4 @@ -// +build !windows,!darwin +// +build !windows,!darwin,!freebsd /* * MinIO Cloud Storage, (C) 2021 MinIO, Inc.