From owner-cvs-src-old@FreeBSD.ORG Fri May 20 00:52:04 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 441C210656D5 for ; Fri, 20 May 2011 00:52:04 +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 325378FC16 for ; Fri, 20 May 2011 00:52:04 +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 p4K0q4CM085273 for ; Fri, 20 May 2011 00:52:04 GMT (envelope-from rmacklem@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p4K0q40T085272 for cvs-src-old@freebsd.org; Fri, 20 May 2011 00:52:04 GMT (envelope-from rmacklem@repoman.freebsd.org) Message-Id: <201105200052.p4K0q40T085272@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to rmacklem@repoman.freebsd.org using -f From: Rick Macklem Date: Fri, 20 May 2011 00:51:52 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 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, 20 May 2011 00:52:04 -0000 rmacklem 2011-05-20 00:51:52 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/fs/nfsserver nfs_nfsdport.c Log: SVN rev 222109 on 2011-05-20 00:51:52Z by rmacklem MFC: r221517 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. Revision Changes Path 1.15.2.33 +16 -1 src/sys/fs/nfsserver/nfs_nfsdport.c