summaryrefslogtreecommitdiff
path: root/lib/tdb2
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2011-09-14 07:08:13 +0930
committerRusty Russell <rusty@rustcorp.com.au>2011-09-14 07:08:13 +0930
commit1bba793fd64f635b8055a34973cded1f67e958e4 (patch)
tree7fa8f58e414cd55d9f3b96164e8e5885c1cf92be /lib/tdb2
parent9b9aa556defbf35f782109464e4295d250e59f24 (diff)
downloadsamba-1bba793fd64f635b8055a34973cded1f67e958e4.tar.gz
samba-1bba793fd64f635b8055a34973cded1f67e958e4.tar.bz2
samba-1bba793fd64f635b8055a34973cded1f67e958e4.zip
tdb2: fix tdb_lock offset.
It can be 64 bits, for huge databases. (Imported from CCAN commit 736c033322079baf754261d82b6a83de53b2bb4e) Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'lib/tdb2')
-rw-r--r--lib/tdb2/private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tdb2/private.h b/lib/tdb2/private.h
index 38d5b50218..a18e02b720 100644
--- 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;
};