Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/ufs sprinkel some #ifdef QUOTA2 to avoid unused vari...
details: https://anonhg.NetBSD.org/src/rev/e9b98298f8d9
branches: trunk
changeset: 773236:e9b98298f8d9
user: para <para%NetBSD.org@localhost>
date: Sun Jan 29 11:59:14 2012 +0000
description:
sprinkel some #ifdef QUOTA2 to avoid unused variables
diffstat:
sys/ufs/ufs/ufs_quota.c | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
diffs (68 lines):
diff -r c4249a69d531 -r e9b98298f8d9 sys/ufs/ufs/ufs_quota.c
--- a/sys/ufs/ufs/ufs_quota.c Sun Jan 29 11:49:58 2012 +0000
+++ b/sys/ufs/ufs/ufs_quota.c Sun Jan 29 11:59:14 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ufs_quota.c,v 1.104 2012/01/29 07:16:53 dholland Exp $ */
+/* $NetBSD: ufs_quota.c,v 1.105 2012/01/29 11:59:14 para Exp $ */
/*
* Copyright (c) 1982, 1986, 1990, 1993, 1995
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ufs_quota.c,v 1.104 2012/01/29 07:16:53 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ufs_quota.c,v 1.105 2012/01/29 11:59:14 para Exp $");
#if defined(_KERNEL_OPT)
#include "opt_quota.h"
@@ -430,7 +430,9 @@
quota_handle_cmd_cursoropen(struct mount *mp, struct lwp *l,
struct vfs_quotactl_args *args)
{
+#ifdef QUOTA2
struct ufsmount *ump = VFSTOUFS(mp);
+#endif
struct quotakcursor *cursor;
int error;
@@ -456,7 +458,9 @@
quota_handle_cmd_cursorclose(struct mount *mp, struct lwp *l,
struct vfs_quotactl_args *args)
{
+#ifdef QUOTA2
struct ufsmount *ump = VFSTOUFS(mp);
+#endif
struct quotakcursor *cursor;
int error;
@@ -482,7 +486,9 @@
quota_handle_cmd_cursorskipidtype(struct mount *mp, struct lwp *l,
struct vfs_quotactl_args *args)
{
+#ifdef QUOTA2
struct ufsmount *ump = VFSTOUFS(mp);
+#endif
struct quotakcursor *cursor;
int idtype;
int error;
@@ -505,7 +511,9 @@
quota_handle_cmd_cursoratend(struct mount *mp, struct lwp *l,
struct vfs_quotactl_args *args)
{
+#ifdef QUOTA2
struct ufsmount *ump = VFSTOUFS(mp);
+#endif
struct quotakcursor *cursor;
int *ret;
int error;
@@ -528,7 +536,9 @@
quota_handle_cmd_cursorrewind(struct mount *mp, struct lwp *l,
struct vfs_quotactl_args *args)
{
+#ifdef QUOTA2
struct ufsmount *ump = VFSTOUFS(mp);
+#endif
struct quotakcursor *cursor;
int error;
Home |
Main Index |
Thread Index |
Old Index