mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
smbd: do_lock_cancel does not need "blr" anymore
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Jul 4 08:52:31 CEST 2014 on sn-devel-104
This commit is contained in:
parent
5a1fb2eb0d
commit
085c7a71fd
@ -352,8 +352,7 @@ NTSTATUS do_lock_cancel(files_struct *fsp,
|
||||
uint64 smblctx,
|
||||
uint64_t count,
|
||||
uint64_t offset,
|
||||
enum brl_flavour lock_flav,
|
||||
struct blocking_lock_record *blr)
|
||||
enum brl_flavour lock_flav)
|
||||
{
|
||||
bool ok = False;
|
||||
struct byte_range_lock *br_lck = NULL;
|
||||
|
@ -140,8 +140,7 @@ NTSTATUS do_lock_cancel(files_struct *fsp,
|
||||
uint64 smblctx,
|
||||
uint64_t count,
|
||||
uint64_t offset,
|
||||
enum brl_flavour lock_flav,
|
||||
struct blocking_lock_record *blr);
|
||||
enum brl_flavour lock_flav);
|
||||
void locking_close_file(struct messaging_context *msg_ctx,
|
||||
files_struct *fsp,
|
||||
enum file_close_type close_type);
|
||||
|
@ -7773,8 +7773,7 @@ NTSTATUS smbd_do_locking(struct smb_request *req,
|
||||
e->smblctx,
|
||||
e->count,
|
||||
e->offset,
|
||||
WINDOWS_LOCK,
|
||||
blr);
|
||||
WINDOWS_LOCK);
|
||||
} else {
|
||||
bool blocking_lock = timeout ? true : false;
|
||||
bool defer_lock = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user