Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/ufs Whitespace.
details: https://anonhg.NetBSD.org/src/rev/6364d17543cc
branches: trunk
changeset: 773182:6364d17543cc
user: dholland <dholland%NetBSD.org@localhost>
date: Sun Jan 29 06:50:15 2012 +0000
description:
Whitespace.
diffstat:
sys/ufs/ufs/ufs_quota.c | 35 ++++++++++++++++-------------------
1 files changed, 16 insertions(+), 19 deletions(-)
diffs (61 lines):
diff -r 95c9713f4159 -r 6364d17543cc sys/ufs/ufs/ufs_quota.c
--- a/sys/ufs/ufs/ufs_quota.c Sun Jan 29 06:49:43 2012 +0000
+++ b/sys/ufs/ufs/ufs_quota.c Sun Jan 29 06:50:15 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ufs_quota.c,v 1.85 2012/01/29 06:49:43 dholland Exp $ */
+/* $NetBSD: ufs_quota.c,v 1.86 2012/01/29 06:50:15 dholland 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.85 2012/01/29 06:49:43 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ufs_quota.c,v 1.86 2012/01/29 06:50:15 dholland Exp $");
#if defined(_KERNEL_OPT)
#include "opt_quota.h"
@@ -285,28 +285,25 @@
kauth_id = 0;
}
- /* avoid whitespace changes */
- {
- error = kauth_authorize_system(l->l_cred, KAUTH_SYSTEM_FS_QUOTA,
- KAUTH_REQ_SYSTEM_FS_QUOTA_MANAGE, mp, KAUTH_ARG(kauth_id),
- NULL);
- if (error != 0)
- goto err;
+ error = kauth_authorize_system(l->l_cred, KAUTH_SYSTEM_FS_QUOTA,
+ KAUTH_REQ_SYSTEM_FS_QUOTA_MANAGE, mp, KAUTH_ARG(kauth_id),
+ NULL);
+ if (error != 0)
+ goto err;
#ifdef QUOTA
- if (ump->um_flags & UFS_QUOTA)
- error = quota1_handle_cmd_put(ump, qk, qv);
- else
+ if (ump->um_flags & UFS_QUOTA)
+ error = quota1_handle_cmd_put(ump, qk, qv);
+ else
#endif
#ifdef QUOTA2
- if (ump->um_flags & UFS_QUOTA2) {
- error = quota2_handle_cmd_put(ump, qk, qv);
- } else
+ if (ump->um_flags & UFS_QUOTA2) {
+ error = quota2_handle_cmd_put(ump, qk, qv);
+ } else
#endif
- panic("quota_handle_cmd_get: no support ?");
+ panic("quota_handle_cmd_get: no support ?");
- if (error && error != ENOENT)
- goto err;
- }
+ if (error && error != ENOENT)
+ goto err;
return 0;
err:
Home |
Main Index |
Thread Index |
Old Index