Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1587199 > unrolled thread

[PATCH] fs: nfsd: remove superfluous KERN_INFO

Started byRasmus Villemoes <linux@rasmusvillemoes.dk>
First post2017-02-24 01:20 +0100
Last post2017-02-24 21:50 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] fs: nfsd: remove superfluous KERN_INFO Rasmus Villemoes <linux@rasmusvillemoes.dk> - 2017-02-24 01:20 +0100
    Re: [PATCH] fs: nfsd: remove superfluous KERN_INFO "J. Bruce Fields" <bfields@fieldses.org> - 2017-02-24 21:50 +0100

#1587199 — [PATCH] fs: nfsd: remove superfluous KERN_INFO

FromRasmus Villemoes <linux@rasmusvillemoes.dk>
Date2017-02-24 01:20 +0100
Subject[PATCH] fs: nfsd: remove superfluous KERN_INFO
Message-ID<tebM6-lC-31@gated-at.bofh.it>
dprintk already provides a KERN_* prefix; this KERN_INFO just shows up
as some odd characters in the output.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
---
 fs/nfsd/nfs4state.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index a0dee8ae9f97..df86e888f833 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -2281,7 +2281,7 @@ gen_callback(struct nfs4_client *clp, struct nfsd4_setclientid *se, struct svc_r
 out_err:
 	conn->cb_addr.ss_family = AF_UNSPEC;
 	conn->cb_addrlen = 0;
-	dprintk(KERN_INFO "NFSD: this client (clientid %08x/%08x) "
+	dprintk("NFSD: this client (clientid %08x/%08x) "
 		"will not receive delegations\n",
 		clp->cl_clientid.cl_boot, clp->cl_clientid.cl_id);
 
-- 
2.1.4

[toc] | [next] | [standalone]


#1587928

From"J. Bruce Fields" <bfields@fieldses.org>
Date2017-02-24 21:50 +0100
Message-ID<teuYp-5wX-5@gated-at.bofh.it>
In reply to#1587199
Thanks, applying.--b.

On Fri, Feb 24, 2017 at 01:15:55AM +0100, Rasmus Villemoes wrote:
> dprintk already provides a KERN_* prefix; this KERN_INFO just shows up
> as some odd characters in the output.
> 
> Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
> ---
>  fs/nfsd/nfs4state.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
> index a0dee8ae9f97..df86e888f833 100644
> --- a/fs/nfsd/nfs4state.c
> +++ b/fs/nfsd/nfs4state.c
> @@ -2281,7 +2281,7 @@ gen_callback(struct nfs4_client *clp, struct nfsd4_setclientid *se, struct svc_r
>  out_err:
>  	conn->cb_addr.ss_family = AF_UNSPEC;
>  	conn->cb_addrlen = 0;
> -	dprintk(KERN_INFO "NFSD: this client (clientid %08x/%08x) "
> +	dprintk("NFSD: this client (clientid %08x/%08x) "
>  		"will not receive delegations\n",
>  		clp->cl_clientid.cl_boot, clp->cl_clientid.cl_id);
>  
> -- 
> 2.1.4

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web