diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2011-09-14 07:08:13 +0930 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2011-09-14 07:08:13 +0930 |
commit | 1bba793fd64f635b8055a34973cded1f67e958e4 (patch) | |
tree | 7fa8f58e414cd55d9f3b96164e8e5885c1cf92be /lib | |
parent | 9b9aa556defbf35f782109464e4295d250e59f24 (diff) | |
download | samba-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')
-rw-r--r-- | lib/tdb2/private.h | 2 |
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; }; |