Received: by mail.netbsd.org (Postfix, from userid 605) id 2CAAD19CF50; Thu, 3 Feb 2011 17:36:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 46BC319CF4E for ; Thu, 3 Feb 2011 17:36:32 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id L8Wf+pGV-qIe for ; Thu, 3 Feb 2011 17:36:31 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 81CA319CF2F for ; Thu, 3 Feb 2011 17:36:31 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 67A42175DD; Thu, 3 Feb 2011 17:36:31 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Thu, 3 Feb 2011 17:36:31 +0000 From: "Manuel Bouyer" Subject: CVS commit: [bouyer-quota2] src To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20110203173631.67A42175DD@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Manuel Bouyer" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: bouyer Date: Thu Feb 3 17:36:31 UTC 2011 Modified Files: src/sys/ufs/ufs [bouyer-quota2]: quota1_subr.c quota2_subr.c src/tests/fs/ffs [bouyer-quota2]: h_quota2_tests.c t_quotalimit.sh Log Message: Change semantic of limits to allow up to the limit inclued (instead of up to one less than the limit: I feel that if my limit is 1000 inodes I should be able to create 1000 files, not 999). Keep the previous semantic for quota1 dquot, the conversion functions will add or remove 1 when converting limits from/to the new format. Adjust test for this change. To generate a diff of this commit: cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/ufs/ufs/quota1_subr.c cvs rdiff -u -r1.1.2.5 -r1.1.2.6 src/sys/ufs/ufs/quota2_subr.c cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/tests/fs/ffs/h_quota2_tests.c cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/tests/fs/ffs/t_quotalimit.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.