Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys Improve comments.



details:   https://anonhg.NetBSD.org/src/rev/ea9b037cc6ed
branches:  trunk
changeset: 773174:ea9b037cc6ed
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sun Jan 29 06:43:34 2012 +0000

description:
Improve comments.

diffstat:

 sys/sys/quota.h |  11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diffs (26 lines):

diff -r abd06978ad71 -r ea9b037cc6ed sys/sys/quota.h
--- a/sys/sys/quota.h   Sun Jan 29 06:42:14 2012 +0000
+++ b/sys/sys/quota.h   Sun Jan 29 06:43:34 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: quota.h,v 1.9 2012/01/29 06:40:57 dholland Exp $ */
+/* $NetBSD: quota.h,v 1.10 2012/01/29 06:43:34 dholland Exp $ */
 /*-
   * Copyright (c) 2010 Manuel Bouyer
   * All rights reserved.
@@ -48,10 +48,13 @@
 #define QUOTA_NOTIME           ((time_t)-1)
 
 
+/*
+ * Structure used to describe the key part of a quota record.
+ */
 struct quotakey {
-       int qk_idtype;
-       id_t qk_id;
-       int qk_objtype;
+       int qk_idtype;          /* type of id (user, group, etc.) */
+       id_t qk_id;             /* actual id number */
+       int qk_objtype;         /* type of fs object (blocks, files, etc.) */
 };
 
 /*



Home | Main Index | Thread Index | Old Index