2022-07-20 12:51:04

by Jeff Layton

[permalink] [raw]
Subject: [PATCH] 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.

Cc: Olaf Kirch <[email protected]>
Signed-off-by: Jeff Layton <[email protected]>
---
fs/nfsd/nfsctl.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c
index 0621c2faf242..b6efc3b56fe9 100644
--- a/fs/nfsd/nfsctl.c
+++ b/fs/nfsd/nfsctl.c
@@ -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)
--
2.36.1


2022-07-20 14:33:01

by Chuck Lever III

[permalink] [raw]
Subject: Re: [PATCH] nfsd: silence extraneous printk on nfsd.ko insertion



> On Jul 20, 2022, at 8:39 AM, Jeff Layton <[email protected]> wrote:
>
> 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.
>
> Cc: Olaf Kirch <[email protected]>
> Signed-off-by: Jeff Layton <[email protected]>

Applied for for-next, thanks!


> ---
> fs/nfsd/nfsctl.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c
> index 0621c2faf242..b6efc3b56fe9 100644
> --- a/fs/nfsd/nfsctl.c
> +++ b/fs/nfsd/nfsctl.c
> @@ -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)
> --
> 2.36.1
>

--
Chuck Lever