mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
Fix a scary "fill_share_mode_lock failed" message
To me "fill_share_mode_lock failed" is a "can't happen" alert. There is however a perfectly valid case in get_file_infos() when the file is not open. Change the corresponding debug message to level 10 and explain more.
This commit is contained in:
parent
7eb7f423d0
commit
c164c0c20a
@ -887,7 +887,8 @@ struct share_mode_lock *fetch_share_mode_unlocked(TALLOC_CTX *mem_ctx,
|
||||
}
|
||||
|
||||
if (!fill_share_mode_lock(lck, id, servicepath, fname, data, NULL)) {
|
||||
DEBUG(3, ("fill_share_mode_lock failed\n"));
|
||||
DEBUG(10, ("fetch_share_mode_unlocked: no share_mode record "
|
||||
"around (file not open)\n"));
|
||||
TALLOC_FREE(lck);
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user