From owner-cvs-src-old@FreeBSD.ORG Thu May 5 00:11:28 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 2BE491065673 for ; Thu, 5 May 2011 00:11:28 +0000 (UTC) (envelope-from rmacklem@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id F1CC38FC14 for ; Thu, 5 May 2011 00:11:27 +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 p450BR1Z063497 for ; Thu, 5 May 2011 00:11:27 GMT (envelope-from rmacklem@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p450BRrN063496 for cvs-src-old@freebsd.org; Thu, 5 May 2011 00:11:27 GMT (envelope-from rmacklem@repoman.freebsd.org) Message-Id: <201105050011.p450BRrN063496@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to rmacklem@repoman.freebsd.org using -f From: Rick Macklem Date: Thu, 5 May 2011 00:11:09 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/fs/nfsclient nfs_clport.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: Thu, 05 May 2011 00:11:28 -0000 rmacklem 2011-05-05 00:11:09 UTC FreeBSD src repository Modified files: sys/fs/nfsclient nfs_clport.c Log: SVN rev 221467 on 2011-05-05 00:11:09Z by rmacklem Fix the new NFS client so that it handles the 64bit fields that are now in "struct statfs" for NFSv3 and NFSv4. Since the ffiles value is uint64_t on the wire, I clip the value to INT64_MAX to avoid setting f_ffree negative. Tested by: kib MFC after: 2 weeks Revision Changes Path 1.21 +23 -11 src/sys/fs/nfsclient/nfs_clport.c