aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Johnson <benbjohnson@yahoo.com>2014-03-23 08:59:45 -0700
committerBen Johnson <benbjohnson@yahoo.com>2014-03-23 08:59:45 -0700
commita10ce47f54a5c57292d11faec14e398f11b7ae4f (patch)
tree9eab120d9749dec8835e8420e22985d18af79d3d
parentMerge branch 'fdatasync' of https://github.com/tv42/bolt into fsync (diff)
downloaddedo-a10ce47f54a5c57292d11faec14e398f11b7ae4f.tar.gz
dedo-a10ce47f54a5c57292d11faec14e398f11b7ae4f.tar.xz
Consolidate syscall files.
-rw-r--r--syscall.go (renamed from sync_std.go)1
-rw-r--r--syscall_linux.go (renamed from sync_linux.go)0
2 files changed, 0 insertions, 1 deletions
diff --git a/sync_std.go b/syscall.go
index d858b23..c3a1bb5 100644
--- a/sync_std.go
+++ b/syscall.go
@@ -4,7 +4,6 @@ package bolt
import "os"
-// Fall back to syncing metadata too.
func fdatasync(f *os.File) error {
return f.Sync()
}
diff --git a/sync_linux.go b/syscall_linux.go
index 351b65a..351b65a 100644
--- a/sync_linux.go
+++ b/syscall_linux.go