]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4/samba: call force_check_log_size() in prefork_reload_after_fork()
authorRalph Boehme <slow@samba.org>
Thu, 26 Nov 2020 14:23:58 +0000 (15:23 +0100)
committerKarolin Seeger <kseeger@samba.org>
Wed, 9 Dec 2020 10:44:15 +0000 (10:44 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14248

Signed-off-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 82b64e930b0e2d3b2e5186017d9f8e420994136c)

source4/smbd/process_prefork.c

index 73b4d3a11d94c985383430aba2cdeb2372dac4d2..ec0ebc24029457f8ee2e717c633b11b6401c0410 100644 (file)
@@ -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();
 }
 
 /*