diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2019-05-20 10:56:00 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2019-05-20 13:39:40 -0400 |
commit | 1d505f6875d27dccafb777853a51045f82888f00 (patch) | |
tree | 25c97e90fecfdd106204c051e254df5509ce8676 /vendor/github.com/boltdb/bolt/bolt_openbsd.go | |
parent | 18a953918e1d15aded713f9802865807bd25a1e0 (diff) | |
download | podman-1d505f6875d27dccafb777853a51045f82888f00.tar.gz podman-1d505f6875d27dccafb777853a51045f82888f00.tar.bz2 podman-1d505f6875d27dccafb777853a51045f82888f00.zip |
Update vendor of buildah and containers/images
Mainly add support for podman build using --overlay mounts.
Updates containers/image also adds better support for new registries.conf
file.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'vendor/github.com/boltdb/bolt/bolt_openbsd.go')
-rw-r--r-- | vendor/github.com/boltdb/bolt/bolt_openbsd.go | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/vendor/github.com/boltdb/bolt/bolt_openbsd.go b/vendor/github.com/boltdb/bolt/bolt_openbsd.go deleted file mode 100644 index 7058c3d73..000000000 --- a/vendor/github.com/boltdb/bolt/bolt_openbsd.go +++ /dev/null @@ -1,27 +0,0 @@ -package bolt - -import ( - "syscall" - "unsafe" -) - -const ( - msAsync = 1 << iota // perform asynchronous writes - msSync // perform synchronous writes - msInvalidate // invalidate cached data -) - -func msync(db *DB) error { - _, _, errno := syscall.Syscall(syscall.SYS_MSYNC, uintptr(unsafe.Pointer(db.data)), uintptr(db.datasz), msInvalidate) - if errno != 0 { - return errno - } - return nil -} - -func fdatasync(db *DB) error { - if db.data != nil { - return msync(db) - } - return db.file.Sync() -} |