svn commit: r317572 - projects/pnfs-planb-server/sys/fs/nfsserver

Rick Macklem rmacklem at FreeBSD.org
Fri Apr 28 22:24:23 UTC 2017


Author: rmacklem
Date: Fri Apr 28 22:24:21 2017
New Revision: 317572
URL: https://svnweb.freebsd.org/changeset/base/317572

Log:
  Don't log the case where a Layoutget asks for a non-UINT64_MAX len,
  since that happens for FreeBSD clients.

Modified:
  projects/pnfs-planb-server/sys/fs/nfsserver/nfs_nfsdstate.c

Modified: projects/pnfs-planb-server/sys/fs/nfsserver/nfs_nfsdstate.c
==============================================================================
--- projects/pnfs-planb-server/sys/fs/nfsserver/nfs_nfsdstate.c	Fri Apr 28 21:47:18 2017	(r317571)
+++ projects/pnfs-planb-server/sys/fs/nfsserver/nfs_nfsdstate.c	Fri Apr 28 22:24:21 2017	(r317572)
@@ -6205,7 +6205,7 @@ nfsrv_layoutget(struct nfsrv_descript *n
 	}
 	NFSDDSUNLOCK();
 
-	if (*offset != 0 || *len != UINT64_MAX)
+	if (*offset != 0)
 		printf("nfsrv_layoutget: off=%ju len=%ju\n", (uintmax_t)*offset,
 		    (uintmax_t)*len);
 	error = nfsvno_getfh(vp, &fh, p);


More information about the svn-src-projects mailing list