1
0
Fork 0

nfsd: Fix message level for normal termination

[ Upstream commit 4420440c57 ]

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: e096bbc648 ("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>
5.4-rM2-2.2.x-imx-squashed
kazuo ito 2020-11-27 15:26:59 +09:00 committed by Greg Kroah-Hartman
parent b4ac244716
commit 48ed3e57ad
1 changed files with 1 additions and 2 deletions

View 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);
}