All of lore.kernel.org
 help / color / mirror / Atom feed
* + knfsd-nfsd4-demote-clientid-in-use-printk-to-a-dprintk.patch added to -mm tree
@ 2007-03-23  7:52 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2007-03-23  7:52 UTC (permalink / raw)
  To: mm-commits; +Cc: bfields, neilb


The patch titled
     knfsd: nfsd4: demote "clientid in use" printk to a dprintk
has been added to the -mm tree.  Its filename is
     knfsd-nfsd4-demote-clientid-in-use-printk-to-a-dprintk.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: knfsd: nfsd4: demote "clientid in use" printk to a dprintk
From: Bruce Fields <bfields@citi.umich.edu>

The reused clientid here is a more of a problem for the client than the
server, and the client can report the problem itself if it's serious.

Signed-off-by: "J. Bruce Fields" <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 fs/nfsd/nfs4state.c |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff -puN fs/nfsd/nfs4state.c~knfsd-nfsd4-demote-clientid-in-use-printk-to-a-dprintk fs/nfsd/nfs4state.c
--- a/fs/nfsd/nfs4state.c~knfsd-nfsd4-demote-clientid-in-use-printk-to-a-dprintk
+++ a/fs/nfsd/nfs4state.c
@@ -750,9 +750,8 @@ nfsd4_setclientid(struct svc_rqst *rqstp
 		status = nfserr_clid_inuse;
 		if (!cmp_creds(&conf->cl_cred, &rqstp->rq_cred)
 				|| conf->cl_addr != sin->sin_addr.s_addr) {
-			printk("NFSD: setclientid: string in use by client"
-			"(clientid %08x/%08x)\n",
-			conf->cl_clientid.cl_boot, conf->cl_clientid.cl_id);
+			dprintk("NFSD: setclientid: string in use by client"
+				"at %u.%u.%u.%u\n", NIPQUAD(conf->cl_addr));
 			goto out;
 		}
 	}
_

Patches currently in -mm which might be from bfields@citi.umich.edu are

origin.patch
knfsd-nfsd4-fix-inheritance-flags-on-v4-ace-derived-from-posix-default-ace.patch
knfsd-nfsd4-demote-clientid-in-use-printk-to-a-dprintk.patch
knfsd-nfsd4-remove-superfluous-cancel_delayed_work-call.patch
auth_gss-unregister-gss_domain-when-unloading-module.patch

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-03-23  7:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-23  7:52 + knfsd-nfsd4-demote-clientid-in-use-printk-to-a-dprintk.patch added to -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.