Commit 736c0333 authored by Rusty Russell's avatar Rusty Russell

tdb2: fix tdb_lock offset.

It can be 64 bits, for huge databases.
parent 51f592df
...@@ -283,7 +283,7 @@ enum tdb_lock_flags { ...@@ -283,7 +283,7 @@ enum tdb_lock_flags {
struct tdb_lock { struct tdb_lock {
struct tdb_context *owner; struct tdb_context *owner;
uint32_t off; off_t off;
uint32_t count; uint32_t count;
uint32_t ltype; uint32_t ltype;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment