mirror of
https://github.com/samba-team/samba.git
synced 2025-01-21 18:04:06 +03:00
Use 32-bit smbpid in interface as required by SMB2, in line with
1bdd08227e7d046305705050f21f0f1b6dd6994a.
This commit is contained in:
parent
bd64688c6a
commit
8df6af213a
@ -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)
|
||||
{
|
||||
|
@ -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);
|
||||
|
@ -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 *,
|
||||
|
Loading…
x
Reference in New Issue
Block a user