Received: by mail.netbsd.org (Postfix, from userid 605) id 4A42814A2A8; Sun, 29 Jan 2012 06:57:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id B0D8F14A2A7 for ; Sun, 29 Jan 2012 06:57:16 +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 GMnfXqjLJ0R2 for ; Sun, 29 Jan 2012 06:57:16 +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 1D85114A29F for ; Sun, 29 Jan 2012 06:57:16 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 5734D175DD; Sun, 29 Jan 2012 06:57:16 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Sun, 29 Jan 2012 06:57:16 +0000 From: "David A. Holland" Subject: CVS commit: src/sys To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20120129065716.5734D175DD@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: "David A. Holland" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: dholland Date: Sun Jan 29 06:57:15 UTC 2012 Modified Files: src/sys/kern: vfs_quotactl.c src/sys/sys: quotactl.h src/sys/ufs/ufs: ufs_quota.c ufs_quota.h ufs_quota2.c Log Message: Begin adding quota cursor/iteration interface to VFS_QUOTACTL. Add struct quotakcursor. Add QUOTACTL_CURSOROPEN and QUOTACTL_CURSORCLOSE operations. Implement the plumbing for them. Add trivial implementations of them for quota2. (iteration is not supported on quota1 for the time being, just as getall isn't) Have the proplib interpreter open and close a cursor around doing QUOTACTL_GETALL. Note: this change requires a kernel version bump. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/kern/vfs_quotactl.c cvs rdiff -u -r1.18 -r1.19 src/sys/sys/quotactl.h cvs rdiff -u -r1.92 -r1.93 src/sys/ufs/ufs/ufs_quota.c cvs rdiff -u -r1.14 -r1.15 src/sys/ufs/ufs/ufs_quota.h cvs rdiff -u -r1.15 -r1.16 src/sys/ufs/ufs/ufs_quota2.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.