Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4deb1c33 authored by kazuo ito's avatar kazuo ito Committed by Greg Kroah-Hartman
Browse files

nfsd: Fix message level for normal termination



[ 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: e096bbc6 ("knfsd: remove special handling for SIGHUP")
Signed-off-by: default avatarkazuo ito <kzpn200@gmail.com>
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent fb8a0ef0
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -393,8 +393,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);
}