Skip to content

Commit

Permalink
nfsd: Fix message level for normal termination
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
Signed-off-by: Kamal Mostafa <[email protected]>
Signed-off-by: Kelsey Skunberg <[email protected]>
  • Loading branch information
kazuo ito authored and ksacilotto committed Jan 20, 2021
1 parent 02fbbc1 commit fa5a2bb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fs/nfsd/nfssvc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit fa5a2bb

Please sign in to comment.