From owner-cvs-src-old@FreeBSD.ORG Fri May 6 01:29:31 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 16724106566B for ; Fri, 6 May 2011 01:29:31 +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 0548B8FC20 for ; Fri, 6 May 2011 01:29:31 +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 p461TUsR089654 for ; Fri, 6 May 2011 01:29:30 GMT (envelope-from rmacklem@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p461TUJv089653 for cvs-src-old@freebsd.org; Fri, 6 May 2011 01:29:30 GMT (envelope-from rmacklem@repoman.freebsd.org) Message-Id: <201105060129.p461TUJv089653@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to rmacklem@repoman.freebsd.org using -f From: Rick Macklem Date: Fri, 6 May 2011 01:29:14 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/fs/nfsserver nfs_nfsdport.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: Fri, 06 May 2011 01:29:31 -0000 rmacklem 2011-05-06 01:29:14 UTC FreeBSD src repository Modified files: sys/fs/nfsserver nfs_nfsdport.c Log: SVN rev 221517 on 2011-05-06 01:29:14Z by rmacklem Change the new NFS server so that it returns 0 when the f_bavail or f_ffree fields of "struct statfs" are negative, since the values that go on the wire are unsigned and will appear to be very large positive values otherwise. This makes the handling of a negative f_bavail compatible with the old/regular NFS server. MFC after: 2 weeks Revision Changes Path 1.49 +16 -1 src/sys/fs/nfsserver/nfs_nfsdport.c