git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e56d22
)
smbd: Use "fsp->lease" instead of "lease"
author
Volker Lendecke
<vl@samba.org>
Fri, 24 May 2019 13:50:02 +0000
(15:50 +0200)
committer
Jeremy Allison
<jra@samba.org>
Tue, 28 May 2019 20:27:15 +0000
(20:27 +0000)
See the SMB_ASSERT a few lines above. Why this? It makes the next
commit more obvious.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/oplock.c
patch
|
blob
|
history
diff --git
a/source3/smbd/oplock.c
b/source3/smbd/oplock.c
index b99b9cb4f0888abd0a8780c7a6158776a1650cc1..1c7a4c8d29de90b9a90aa773a4db4a6e3fe8fb6c 100644
(file)
--- a/
source3/smbd/oplock.c
+++ b/
source3/smbd/oplock.c
@@
-391,7
+391,7
@@
static void lease_timeout_handler(struct tevent_context *ctx,
return;
}
- fsp_lease_update(lck, fsp_client_guid(fsp), lease);
+ fsp_lease_update(lck, fsp_client_guid(fsp),
fsp->
lease);
if (lease->lease.lease_epoch != old_epoch) {
/*