git.samba.org
/
ira
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9b3594
)
smbd: Use share_mode_entry's lease data in lease_match()
author
Volker Lendecke
<vl@samba.org>
Wed, 10 Apr 2019 19:54:27 +0000
(21:54 +0200)
committer
Christof Schmitt
<cs@samba.org>
Sun, 14 Apr 2019 04:01:31 +0000
(
04:01
+0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
source3/smbd/open.c
patch
|
blob
|
history
diff --git
a/source3/smbd/open.c
b/source3/smbd/open.c
index 07f7c7ec194f12fd4ae78ec73bb52e44b2c74b6c..e480c97b563f071369887acb2d5957e19f75d309 100644
(file)
--- a/
source3/smbd/open.c
+++ b/
source3/smbd/open.c
@@
-5026,7
+5026,7
@@
static NTSTATUS lease_match(connection_struct *conn,
if (e->op_type == LEASE_OPLOCK) {
struct share_mode_lease *l = NULL;
l = &lck->data->leases[e->lease_idx];
- if (!smb2_lease_key_equal(&
l
->lease_key,
+ if (!smb2_lease_key_equal(&
e
->lease_key,
lease_key)) {
continue;
}