tdb2: save open_flags instead of mmap_flags.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 13 Sep 2011 21:44:13 +0000 (07:14 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 13 Sep 2011 21:44:13 +0000 (07:14 +0930)
commit2cf3f7c07499f565101e1bcb835c73fc297ea72e
treedd1f4507984e47302b29cd6312ef12cf0c9afe1f
parent376511ed4defeeeabcfaa83acd230afd4a46b6fd
tdb2: save open_flags instead of mmap_flags.

It's more consistent with what tdb1 does, and slightly more encapsulated.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(Imported from CCAN commit 6b7c3c840eafbec211b9f58751c5ff754302a68e)
lib/tdb2/io.c
lib/tdb2/open.c
lib/tdb2/private.h