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:
parent
c7731649fd
commit
8dd7b12913
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user