50 lines
1.9 KiB
Diff
50 lines
1.9 KiB
Diff
|
From 739289ad3ce915e1ee2705ecd7ac4e907cd91405 Mon Sep 17 00:00:00 2001
|
||
|
From: Jeff Layton <jlayton@samba.org>
|
||
|
Date: Mon, 7 Jan 2013 10:25:30 -0500
|
||
|
Subject: [PATCH] cifsidmap: clean up comments on API description
|
||
|
|
||
|
...typo and grammatical fixes, mostly.
|
||
|
|
||
|
Signed-off-by: Jeff Layton <jlayton@samba.org>
|
||
|
---
|
||
|
cifsidmap.h | 14 +++++++-------
|
||
|
1 file changed, 7 insertions(+), 7 deletions(-)
|
||
|
|
||
|
diff --git a/cifsidmap.h b/cifsidmap.h
|
||
|
index 656df86..3c074ae 100644
|
||
|
--- a/cifsidmap.h
|
||
|
+++ b/cifsidmap.h
|
||
|
@@ -129,11 +129,11 @@ struct cifs_uxid {
|
||
|
* This function should map an array of struct cifs_sids to an array of
|
||
|
* struct cifs_uxids.
|
||
|
*
|
||
|
- * Returns 0 if at least one conversion was successful and success and
|
||
|
- * non-zero on error. Any that were not successfully converted will have a
|
||
|
- * cuxid->type of CIFS_UXID_TYPE_UNKNOWN.
|
||
|
+ * Returns 0 if at least one conversion was successful and non-zero on error.
|
||
|
+ * Any that were not successfully converted will have a cuxid->type of
|
||
|
+ * CIFS_UXID_TYPE_UNKNOWN.
|
||
|
*
|
||
|
- * On error, the plugin should reset the errmsg pointer passed to the
|
||
|
+ * On any error, the plugin should reset the errmsg pointer passed to the
|
||
|
* init_plugin function to an error string. The caller will not free the error
|
||
|
* string.
|
||
|
*
|
||
|
@@ -151,10 +151,10 @@ struct cifs_uxid {
|
||
|
*
|
||
|
* This function should map an array of cifs_uxids an array of struct cifs_sids.
|
||
|
* Returns 0 if at least one conversion was successful and non-zero on error.
|
||
|
- * Any sids that were not successfully converted will have a revision number of
|
||
|
- * 0.
|
||
|
+ * Any sids that were not successfully converted should have their revision
|
||
|
+ * number set to 0.
|
||
|
*
|
||
|
- * On error, the plugin should reset the errmsg pointer passed to the
|
||
|
+ * On any error, the plugin should reset the errmsg pointer passed to the
|
||
|
* init_plugin function to an error string. The caller will not free the error
|
||
|
* string.
|
||
|
*
|
||
|
--
|
||
|
1.7.11.7
|
||
|
|