Module Name: src Committed By: dholland Date: Sun Jan 29 06:26:55 UTC 2012
Modified Files: src/sys/conf: files src/sys/rump/librump/rumpvfs: Makefile.rumpvfs Added Files: src/sys/kern: vfs_quotactl.c Log Message: Add vfs_quotactl.c. This is where filesystem-independent quota handling will go. To generate a diff of this commit: cvs rdiff -u -r1.1040 -r1.1041 src/sys/conf/files cvs rdiff -u -r0 -r1.1 src/sys/kern/vfs_quotactl.c cvs rdiff -u -r1.31 -r1.32 src/sys/rump/librump/rumpvfs/Makefile.rumpvfs Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/conf/files diff -u src/sys/conf/files:1.1040 src/sys/conf/files:1.1041 --- src/sys/conf/files:1.1040 Sat Jan 28 08:37:22 2012 +++ src/sys/conf/files Sun Jan 29 06:26:54 2012 @@ -1,4 +1,4 @@ -# $NetBSD: files,v 1.1040 2012/01/28 08:37:22 nisimura Exp $ +# $NetBSD: files,v 1.1041 2012/01/29 06:26:54 dholland Exp $ # @(#)files.newconf 7.5 (Berkeley) 5/10/93 version 20100430 @@ -1622,6 +1622,7 @@ file kern/vfs_init.c file kern/vfs_lockf.c file kern/vfs_lookup.c file kern/vfs_mount.c +file kern/vfs_quotactl.c file kern/vfs_subr.c file kern/vfs_syscalls.c file kern/vfs_trans.c Index: src/sys/rump/librump/rumpvfs/Makefile.rumpvfs diff -u src/sys/rump/librump/rumpvfs/Makefile.rumpvfs:1.31 src/sys/rump/librump/rumpvfs/Makefile.rumpvfs:1.32 --- src/sys/rump/librump/rumpvfs/Makefile.rumpvfs:1.31 Sat Apr 2 04:28:58 2011 +++ src/sys/rump/librump/rumpvfs/Makefile.rumpvfs Sun Jan 29 06:26:55 2012 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.rumpvfs,v 1.31 2011/04/02 04:28:58 rmind Exp $ +# $NetBSD: Makefile.rumpvfs,v 1.32 2012/01/29 06:26:55 dholland Exp $ # .include "${RUMPTOP}/Makefile.rump" @@ -52,7 +52,7 @@ SRCS+= subr_bufq.c bufq_disksort.c bufq_ SRCS+= mfs_miniroot.c #quota2 plists -SRCS+= quota1_subr.c +SRCS+= quota1_subr.c vfs_quotactl.c # dev # firmload is technically part of rumpdev, but it's pure vfs in nature. Added files: Index: src/sys/kern/vfs_quotactl.c diff -u /dev/null src/sys/kern/vfs_quotactl.c:1.1 --- /dev/null Sun Jan 29 06:26:55 2012 +++ src/sys/kern/vfs_quotactl.c Sun Jan 29 06:26:55 2012 @@ -0,0 +1,40 @@ +/* $NetBSD: vfs_quotactl.c,v 1.1 2012/01/29 06:26:55 dholland Exp $ */ + +/* + * Copyright (c) 1982, 1986, 1990, 1993, 1995 + * The Regents of the University of California. All rights reserved. + * + * This code is derived from software contributed to Berkeley by + * Robert Elz at The University of Melbourne. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the University nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * @(#)ufs_quota.c 8.5 (Berkeley) 5/20/95 + * From ufs_quota.c,v 1.70 2011/03/24 17:05:46 bouyer Exp + */ + +#include <sys/cdefs.h> +__KERNEL_RCSID(0, "$NetBSD: vfs_quotactl.c,v 1.1 2012/01/29 06:26:55 dholland Exp $"); +