git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b9aa55
)
tdb2: fix tdb_lock offset.
author
Rusty Russell
<rusty@rustcorp.com.au>
Tue, 13 Sep 2011 21:38:13 +0000
(07:08 +0930)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Tue, 13 Sep 2011 21:38:13 +0000
(07:08 +0930)
It can be 64 bits, for huge databases.
(Imported from CCAN commit
736c033322079baf754261d82b6a83de53b2bb4e
)
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
lib/tdb2/private.h
patch
|
blob
|
history
diff --git
a/lib/tdb2/private.h
b/lib/tdb2/private.h
index 38d5b50218064136236990c6c693777aca46ddaa..a18e02b720305eaf9a70f2f85e0105c2a91f1c7e 100644
(file)
--- a/
lib/tdb2/private.h
+++ b/
lib/tdb2/private.h
@@
-295,7
+295,7
@@
enum tdb_lock_flags {
struct tdb_lock {
struct tdb_context *owner;
-
uint32
_t off;
+
off
_t off;
uint32_t count;
uint32_t ltype;
};