Skip to content

Commit fa5a2bb

Browse files
kazuo itoksacilotto
authored andcommitted
nfsd: Fix message level for normal termination
BugLink: https://bugs.launchpad.net/bugs/1910822 [ Upstream commit 4420440 ] 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: e096bbc ("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>
1 parent 02fbbc1 commit fa5a2bb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

fs/nfsd/nfssvc.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -516,8 +516,7 @@ static void nfsd_last_thread(struct svc_serv *serv, struct net *net)
516516
return;
517517

518518
nfsd_shutdown_net(net);
519-
printk(KERN_WARNING "nfsd: last server has exited, flushing export "
520-
"cache\n");
519+
pr_info("nfsd: last server has exited, flushing export cache\n");
521520
nfsd_export_flush(net);
522521
}
523522

0 commit comments

Comments
 (0)