From: Ralph Boehme Date: Thu, 26 Nov 2020 14:23:58 +0000 (+0100) Subject: s4/samba: call force_check_log_size() in prefork_reload_after_fork() X-Git-Tag: samba-4.12.11~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e6fdf5d8d932af52f029f84da774ae920e3a80f;p=thirdparty%2Fsamba.git s4/samba: call force_check_log_size() in prefork_reload_after_fork() BUG: https://bugzilla.samba.org/show_bug.cgi?id=14248 Signed-off-by: Ralph Boehme (cherry picked from commit 82b64e930b0e2d3b2e5186017d9f8e420994136c) --- diff --git a/source4/smbd/process_prefork.c b/source4/smbd/process_prefork.c index 73b4d3a11d9..ec0ebc24029 100644 --- a/source4/smbd/process_prefork.c +++ b/source4/smbd/process_prefork.c @@ -154,6 +154,7 @@ static void prefork_reload_after_fork(void) if (!NT_STATUS_IS_OK(status)) { smb_panic("Failed to re-initialise imessaging after fork"); } + force_check_log_size(); } /*