tdb2: save open_flags instead of mmap_flags.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 31 Aug 2011 04:26:15 +0000 (13:56 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 31 Aug 2011 04:26:15 +0000 (13:56 +0930)
commit6b7c3c840eafbec211b9f58751c5ff754302a68e
tree70212c43f0c731189f1a79b21067394513c746f1
parent6e3d9e8a66bf8b45150500f176452ee8e9ee9927
tdb2: save open_flags instead of mmap_flags.

It's more consistent with what tdb1 does, and slightly more encapsulated.
ccan/tdb2/io.c
ccan/tdb2/open.c
ccan/tdb2/private.h