summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkazuo ito <kzpn200@gmail.com>2020-11-27 15:26:59 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-12-29 13:47:00 +0100
commit0e9942d23848f55a0bc83386f34c623571fd5845 (patch)
tree64810be8d819dcbec3bc077b1f5009304bb72946
parent4d5bbc8f633cb53c50b4fd308f94bbe078241bf4 (diff)
downloadlinux-stable-0e9942d23848f55a0bc83386f34c623571fd5845.tar.gz
linux-stable-0e9942d23848f55a0bc83386f34c623571fd5845.tar.bz2
linux-stable-0e9942d23848f55a0bc83386f34c623571fd5845.zip
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: e096bbc6488d ("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>
-rw-r--r--fs/nfsd/nfssvc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfsd/nfssvc.c b/fs/nfsd/nfssvc.c
index 4a9e0fb634b6..67e85a752d3a 100644
--- a/fs/nfsd/nfssvc.c
+++ b/fs/nfsd/nfssvc.c
@@ -410,8 +410,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);
}