Module Name: src Committed By: dholland Date: Wed Feb 1 17:52:07 UTC 2012
Modified Files: src/common/include/quota: quota.h src/lib/libquota: Makefile Removed Files: src/lib/libquota: getfsquota.c getnfsquota.c getufsquota.c Log Message: Remove old (5.99.48 - 5.99.62) libquota interface. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/common/include/quota/quota.h cvs rdiff -u -r1.7 -r1.8 src/lib/libquota/Makefile cvs rdiff -u -r1.4 -r0 src/lib/libquota/getfsquota.c cvs rdiff -u -r1.5 -r0 src/lib/libquota/getnfsquota.c cvs rdiff -u -r1.7 -r0 src/lib/libquota/getufsquota.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/common/include/quota/quota.h diff -u src/common/include/quota/quota.h:1.4 src/common/include/quota/quota.h:1.5 --- src/common/include/quota/quota.h:1.4 Fri Nov 25 16:55:05 2011 +++ src/common/include/quota/quota.h Wed Feb 1 17:52:07 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: quota.h,v 1.4 2011/11/25 16:55:05 dholland Exp $ */ +/* $NetBSD: quota.h,v 1.5 2012/02/01 17:52:07 dholland Exp $ */ /*- * Copyright (c) 2010 Manuel Bouyer * All rights reserved. @@ -48,17 +48,4 @@ /* check a quota usage against limits (assumes UFS semantic) */ int quota_check_limit(uint64_t, uint64_t, uint64_t, uint64_t, time_t, time_t); -/* - * retrieve quotas with ufs semantics from vfs, for the given id and class. - * second argument points to a struct quotaval array of QUOTA_NLIMITS - * elements. - */ -int getufsquota(const char *, struct quotaval *, uid_t, const char *); - -/* same as above, but for NFS */ -int getnfsquota(const char *, struct quotaval *, uid_t, const char *); - -/* call one of the above, if appropriate, after a statvfs(2) */ -int getfsquota(const char *, struct quotaval *, uid_t, const char *); - #endif /* _QUOTA_QUOTA_H_ */ Index: src/lib/libquota/Makefile diff -u src/lib/libquota/Makefile:1.7 src/lib/libquota/Makefile:1.8 --- src/lib/libquota/Makefile:1.7 Wed Feb 1 05:34:40 2012 +++ src/lib/libquota/Makefile Wed Feb 1 17:52:07 2012 @@ -1,18 +1,13 @@ -# $NetBSD: Makefile,v 1.7 2012/02/01 05:34:40 dholland Exp $ +# $NetBSD: Makefile,v 1.8 2012/02/01 17:52:07 dholland Exp $ # @(#)Makefile 8.1 (Berkeley) 6/4/93 .include <bsd.own.mk> -.include "${NETBSDSRCDIR}/common/lib/libquota/Makefile.inc" - WARNS= 4 LIB= quota -LIBDPLIBS+= prop ${.CURDIR}/../libprop LIBDPLIBS+= rpcsvc ${.CURDIR}/../librpcsvc -SRCS+= getfsquota.c getnfsquota.c getufsquota.c - SRCS+= quota_open.c SRCS+= quota_schema.c SRCS+= quota_get.c quota_put.c quota_delete.c