summaryrefslogtreecommitdiff
path: root/source4/cluster/ctdb/brlock_ctdb.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-12-23 23:02:54 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-12-23 23:02:54 +0100
commit8df6af213a0ca9a70e30c630970b5e2d2debe821 (patch)
treedaeb96a3c8905624dbddb97902cac1447add4aca /source4/cluster/ctdb/brlock_ctdb.c
parentbd64688c6aca6512efd0bd7d95000579beea3119 (diff)
downloadsamba-8df6af213a0ca9a70e30c630970b5e2d2debe821.tar.gz
samba-8df6af213a0ca9a70e30c630970b5e2d2debe821.tar.bz2
samba-8df6af213a0ca9a70e30c630970b5e2d2debe821.zip
Use 32-bit smbpid in interface as required by SMB2, in line with
1bdd08227e7d046305705050f21f0f1b6dd6994a.
Diffstat (limited to 'source4/cluster/ctdb/brlock_ctdb.c')
-rw-r--r--source4/cluster/ctdb/brlock_ctdb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/cluster/ctdb/brlock_ctdb.c b/source4/cluster/ctdb/brlock_ctdb.c
index 01d60901a6..1cc6beb789 100644
--- a/source4/cluster/ctdb/brlock_ctdb.c
+++ b/source4/cluster/ctdb/brlock_ctdb.c
@@ -378,7 +378,7 @@ reply:
*/
static NTSTATUS brl_ctdb_lock(struct brl_context *brl,
struct brl_handle *brlh,
- uint16_t smbpid,
+ uint32_t smbpid,
uint64_t start, uint64_t size,
enum brl_type lock_type,
void *notify_ptr)
@@ -609,7 +609,7 @@ found:
*/
static NTSTATUS brl_ctdb_unlock(struct brl_context *brl,
struct brl_handle *brlh,
- uint16_t smbpid,
+ uint32_t smbpid,
uint64_t start, uint64_t size)
{
struct ctdb_call call;
@@ -782,7 +782,7 @@ static int brl_ctdb_locktest_func(struct ctdb_call_info *call)
*/
static NTSTATUS brl_ctdb_locktest(struct brl_context *brl,
struct brl_handle *brlh,
- uint16_t smbpid,
+ uint32_t smbpid,
uint64_t start, uint64_t size,
enum brl_type lock_type)
{