Skip to contentSkip to conversation

nfsd: silence extraneous printk on nfsd.ko insertion

PATCH In review Jeff Layton 2 participants 2 messages Jul 20, 2022

Subsystems (2)
lore
Share & tools
lore

Jeff Layton

author maintainer
#0 lore raw

PATCH 1/1 nfsd: silence extraneous printk on nfsd.ko insertion

This printk pops every time nfsd.ko gets plugged in. Most kmods don't do that and this one is not very informative. Olaf's email address seems to be defunct at this point anyway. Just drop it.

---
 fs/nfsd/nfsctl.c | 1 -
 1 file changed, 1 deletion(-)
fs/nfsd/nfsctl.c +0 -1
index 0621c2faf242..b6efc3b56fe9 100644
@@ -1517,7 +1517,6 @@ static struct pernet_operations nfsd_net_ops = {
 static int __init init_nfsd(void)
 {
 	int retval;
-	printk(KERN_INFO "Installing knfsd (copyright (C) 1996 [email protected]).\n");
 
 	retval = nfsd4_init_slabs();
 	if (retval)
Signature · 1 line
2.36.1
#1 lore raw
Quoted 10 lines · Jeff Layton

This printk pops every time nfsd.ko gets plugged in. Most kmods don't do that and this one is not very informative. Olaf's email address seems to be defunct at this point anyway. Just drop it.

Applied for for-next, thanks!

Quoted 19 lines

---
fs/nfsd/nfsctl.c | 1 -

1 file changed, 1 deletion(-)
fs/nfsd/nfsctl.c +0 -1
index 0621c2faf242..b6efc3b56fe9 100644
@@ -1517,7 +1517,6 @@ static struct pernet_operations nfsd_net_ops = {
 static int __init init_nfsd(void)
 {
 	int retval;
-	printk(KERN_INFO "Installing knfsd (copyright (C) 1996 [email protected]).\n");
 
 	retval = nfsd4_init_slabs();
 	if (retval)
Signature · 1 line
2.36.1

--
Chuck Lever