Skip to content

Commit 4420440

Browse files
kazuo itochucklever
authored andcommitted
nfsd: Fix message level for normal termination
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>
1 parent 5cfc822 commit 4420440

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
@@ -529,8 +529,7 @@ static void nfsd_last_thread(struct svc_serv *serv, struct net *net)
529529
return;
530530

531531
nfsd_shutdown_net(net);
532-
printk(KERN_WARNING "nfsd: last server has exited, flushing export "
533-
"cache\n");
532+
pr_info("nfsd: last server has exited, flushing export cache\n");
534533
nfsd_export_flush(net);
535534
}
536535

0 commit comments

Comments
 (0)