containerd/vendor/go.etcd.io/bbolt/bolt_linux.go
Lantao Liu e3aa8adbb0 Update containerd to f88d3e5d6d.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-09-26 15:23:15 -07:00

11 lines
172 B
Go

package bbolt
import (
"syscall"
)
// fdatasync flushes written data to a file descriptor.
func fdatasync(db *DB) error {
return syscall.Fdatasync(int(db.file.Fd()))
}