summaryrefslogtreecommitdiff
path: root/source4/ntvfs
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/ntvfs
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/ntvfs')
-rw-r--r--source4/ntvfs/common/brlock.c4
-rw-r--r--source4/ntvfs/common/brlock.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/source4/ntvfs/common/brlock.c b/source4/ntvfs/common/brlock.c
index 21670bbea5..a5bc5c1db4 100644
--- a/source4/ntvfs/common/brlock.c
+++ b/source4/ntvfs/common/brlock.c
@@ -71,7 +71,7 @@ struct brl_handle *brl_create_handle(TALLOC_CTX *mem_ctx, struct ntvfs_handle *n
*/
NTSTATUS brl_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)
@@ -85,7 +85,7 @@ NTSTATUS brl_lock(struct brl_context *brl,
*/
NTSTATUS brl_unlock(struct brl_context *brl,
struct brl_handle *brlh,
- uint16_t smbpid,
+ uint32_t smbpid,
uint64_t start, uint64_t size)
{
return ops->brl_unlock(brl, brlh, smbpid, start, size);
diff --git a/source4/ntvfs/common/brlock.h b/source4/ntvfs/common/brlock.h
index aff30d138e..75f142b6f6 100644
--- a/source4/ntvfs/common/brlock.h
+++ b/source4/ntvfs/common/brlock.h
@@ -28,20 +28,20 @@ struct brlock_ops {
struct brl_handle *(*brl_create_handle)(TALLOC_CTX *, struct ntvfs_handle *, DATA_BLOB *);
NTSTATUS (*brl_lock)(struct brl_context *,
struct brl_handle *,
- uint16_t ,
+ uint32_t ,
uint64_t , uint64_t ,
enum brl_type ,
void *);
NTSTATUS (*brl_unlock)(struct brl_context *,
struct brl_handle *,
- uint16_t ,
+ uint32_t ,
uint64_t , uint64_t );
NTSTATUS (*brl_remove_pending)(struct brl_context *,
struct brl_handle *,
void *);
NTSTATUS (*brl_locktest)(struct brl_context *,
struct brl_handle *,
- uint16_t ,
+ uint32_t ,
uint64_t , uint64_t ,
enum brl_type );
NTSTATUS (*brl_close)(struct brl_context *,