1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

smbd: Use file_id_str_buf() in downgrade_oplock()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2019-11-04 07:39:48 +01:00 committed by Jeremy Allison
parent c7731649fd
commit 8dd7b12913

View File

@ -252,10 +252,12 @@ bool downgrade_oplock(files_struct *fsp)
}
ret = downgrade_share_oplock(lck, fsp);
if (!ret) {
DEBUG(0,("downgrade_oplock: failed to downgrade share oplock "
"for file %s, %s, file_id %s\n",
fsp_str_dbg(fsp), fsp_fnum_dbg(fsp),
file_id_string_tos(&fsp->file_id)));
struct file_id_buf idbuf;
DBG_ERR("failed to downgrade share oplock "
"for file %s, %s, file_id %s\n",
fsp_str_dbg(fsp),
fsp_fnum_dbg(fsp),
file_id_str_buf(fsp->file_id, &idbuf));
}
downgrade_file_oplock(fsp);