mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
s3: locking: Add a const struct lock_context * paramter to set_posix_lock_posix_flavour()
We will need this to implement open file description record locks. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Jeff Layton <jlayton@samba.org>
This commit is contained in:
parent
a3df904a7a
commit
a3cb0a4c27
@ -923,6 +923,7 @@ static NTSTATUS brl_lock_posix(struct messaging_context *msg_ctx,
|
||||
plock->start,
|
||||
plock->size,
|
||||
plock->lock_type,
|
||||
&plock->context,
|
||||
&errno_ret)) {
|
||||
|
||||
/* We don't know who blocked us. */
|
||||
|
@ -1192,6 +1192,7 @@ bool set_posix_lock_posix_flavour(files_struct *fsp,
|
||||
uint64_t u_offset,
|
||||
uint64_t u_count,
|
||||
enum brl_type lock_type,
|
||||
const struct lock_context *lock_ctx,
|
||||
int *errno_ret)
|
||||
{
|
||||
off_t offset;
|
||||
|
@ -239,6 +239,7 @@ bool set_posix_lock_posix_flavour(files_struct *fsp,
|
||||
uint64_t u_offset,
|
||||
uint64_t u_count,
|
||||
enum brl_type lock_type,
|
||||
const struct lock_context *lock_ctx,
|
||||
int *errno_ret);
|
||||
bool release_posix_lock_posix_flavour(files_struct *fsp,
|
||||
uint64_t u_offset,
|
||||
|
Loading…
x
Reference in New Issue
Block a user