mirror of
https://github.com/samba-team/samba.git
synced 2025-03-11 16:58:40 +03:00
smbd: log share_mode_watch_recv() errors as errors
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15624 Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Signed-off-by: Ralph Boehme <slow@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org> (cherry picked from commit b45e78871aadca6ae33475bee890736838f44219)
This commit is contained in:
parent
f4b1210f95
commit
1d930df540
@ -2946,8 +2946,9 @@ static void defer_open_done(struct tevent_req *req)
|
||||
status = share_mode_watch_recv(req, NULL, NULL);
|
||||
TALLOC_FREE(req);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
DEBUG(5, ("dbwrap_watched_watch_recv returned %s\n",
|
||||
nt_errstr(status)));
|
||||
DBG_ERR("share_mode_watch_recv() returned %s, "
|
||||
"rescheduling mid %" PRIu64 "\n",
|
||||
nt_errstr(status), state->mid);
|
||||
/*
|
||||
* Even if it failed, retry anyway. TODO: We need a way to
|
||||
* tell a re-scheduled open about that error.
|
||||
|
Loading…
x
Reference in New Issue
Block a user