Module Name: src
Committed By: bouyer
Date: Fri Feb 11 11:38:44 UTC 2011
Modified Files:
src/sys/ufs/ufs [bouyer-quota2]: quota2_prop.c
Log Message:
Remove key "quota version", it doesn't serve any purpose
To generate a diff of this commit:
cvs rdiff -u -r1.1.2.4 -r1.1.2.5 src/sys/ufs/ufs/quota2_prop.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/ufs/ufs/quota2_prop.c
diff -u src/sys/ufs/ufs/quota2_prop.c:1.1.2.4 src/sys/ufs/ufs/quota2_prop.c:1.1.2.5
--- src/sys/ufs/ufs/quota2_prop.c:1.1.2.4 Mon Jan 31 15:24:10 2011
+++ src/sys/ufs/ufs/quota2_prop.c Fri Feb 11 11:38:44 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: quota2_prop.c,v 1.1.2.4 2011/01/31 15:24:10 bouyer Exp $ */
+/* $NetBSD: quota2_prop.c,v 1.1.2.5 2011/02/11 11:38:44 bouyer Exp $ */
/*-
* Copyright (c) 2010 Manuel Bouyer
* All rights reserved.
@@ -134,12 +134,6 @@
if (prop_number_integer_value(pn) != 1)
return EINVAL;
- pn = prop_dictionary_get(qdict, "quota version");
- if (pn == NULL)
- return EINVAL;
- if (prop_number_integer_value(pn) != 2)
- return EINVAL;
-
o = prop_dictionary_get(qdict, "commands");
if (o == NULL)
return ENOMEM;
@@ -183,9 +177,6 @@
if (!prop_dictionary_set_uint8(dict, "interface version", 1)) {
goto err;
}
- if (!prop_dictionary_set_uint8(dict, "quota version", 2)) {
- goto err;
- }
return dict;
err:
prop_object_release(dict);
@@ -247,7 +238,6 @@
err:
prop_object_release(dict1);
return NULL;
-
}
prop_dictionary_t