From owner-cvs-src-old@FreeBSD.ORG Wed Apr 13 19:35:12 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E929610657BB for ; Wed, 13 Apr 2011 19:35:12 +0000 (UTC) (envelope-from zack@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7755E8FC19 for ; Wed, 13 Apr 2011 19:35:08 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p3DJZ8Pu092114 for ; Wed, 13 Apr 2011 19:35:08 GMT (envelope-from zack@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p3DJZ8Ru092113 for cvs-src-old@freebsd.org; Wed, 13 Apr 2011 19:35:08 GMT (envelope-from zack@repoman.freebsd.org) Message-Id: <201104131935.p3DJZ8Ru092113@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to zack@repoman.freebsd.org using -f From: Zack Kirsch Date: Wed, 13 Apr 2011 19:34:58 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/fs/nfsclient nfs_clcomsubs.c nfs_clrpcops.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2011 19:35:13 -0000 zack 2011-04-13 19:34:58 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/fs/nfsclient nfs_clcomsubs.c nfs_clrpcops.c Log: SVN rev 220607 on 2011-04-13 19:34:58Z by zack MFC: 220152 This patch fixes the Experimental NFS client to properly deal with 32 bit or 64 bit fileid's in NFSv2 and NFSv3. Without this fix, invalid casting (and sign extension) was creating problems for any fileid greater than 2^31. We discovered this because we have test clusters with more than 2 billion allocated files and 64-bit ino_t's (and friend structures). Reviewed by: rmacklem Approved by: zml (mentor) Revision Changes Path 1.1.2.3 +2 -3 src/sys/fs/nfsclient/nfs_clcomsubs.c 1.4.2.10 +3 -3 src/sys/fs/nfsclient/nfs_clrpcops.c