]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
nfsd: Fix message level for normal termination
authorkazuo ito <kzpn200@gmail.com>
Fri, 27 Nov 2020 06:26:59 +0000 (15:26 +0900)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 20 Jan 2021 13:26:03 +0000 (14:26 +0100)
BugLink: https://bugs.launchpad.net/bugs/1910822
[ Upstream commit 4420440c57892779f265108f46f83832a88ca795 ]

The warning message from nfsd terminating normally
can confuse system adminstrators or monitoring software.

Though it's not exactly fair to pin-point a commit where it
originated, the current form in the current place started
to appear in:

Fixes: e096bbc6488d ("knfsd: remove special handling for SIGHUP")
Signed-off-by: kazuo ito <kzpn200@gmail.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
fs/nfsd/nfssvc.c

index e8bee8ff30c59d9bfd826b7e30cabecad281ae5b..155a4e43b24ee34ad757e55fe7ea08f459a21d69 100644 (file)
@@ -516,8 +516,7 @@ static void nfsd_last_thread(struct svc_serv *serv, struct net *net)
                return;
 
        nfsd_shutdown_net(net);
-       printk(KERN_WARNING "nfsd: last server has exited, flushing export "
-                           "cache\n");
+       pr_info("nfsd: last server has exited, flushing export cache\n");
        nfsd_export_flush(net);
 }