git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56f93f2
)
smbd: Use file_id_str_buf() in contend_level2_oplocks_begin_default()
author
Volker Lendecke
<vl@samba.org>
Mon, 4 Nov 2019 06:39:48 +0000
(07:39 +0100)
committer
Jeremy Allison
<jra@samba.org>
Wed, 6 Nov 2019 20:36:35 +0000
(20:36 +0000)
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 b62f926d4e3c853b62ddca44c11526579a98ef79..1a62821c760e5cf03b7458c6575b2bd5f59168ee 100644
(file)
--- a/
source3/smbd/oplock.c
+++ b/
source3/smbd/oplock.c
@@
-1313,8
+1313,9
@@
static void contend_level2_oplocks_begin_default(files_struct *fsp,
lck = get_existing_share_mode_lock(talloc_tos(), fsp->file_id);
if (lck == NULL) {
+ struct file_id_buf idbuf;
DBG_WARNING("failed to lock share mode entry for file %s.\n",
- file_id_str
ing_tos(&state.id
));
+ file_id_str
_buf(state.id, &idbuf
));
return;
}
d = lck->data;