summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Layton <jlayton@samba.org>2013-01-07 10:25:30 -0500
committerJeff Layton <jlayton@samba.org>2013-01-07 10:25:30 -0500
commit739289ad3ce915e1ee2705ecd7ac4e907cd91405 (patch)
treea4ea969885aaec86f3bbb0df4f9eb0b3572ef33c
parent9c988b1e39c5abe88e795bb3fb9285ee6c4b80fc (diff)
downloadcifs-utils-739289ad3ce915e1ee2705ecd7ac4e907cd91405.tar.gz
cifs-utils-739289ad3ce915e1ee2705ecd7ac4e907cd91405.tar.bz2
cifs-utils-739289ad3ce915e1ee2705ecd7ac4e907cd91405.zip
cifsidmap: clean up comments on API description
...typo and grammatical fixes, mostly. Signed-off-by: Jeff Layton <jlayton@samba.org>
-rw-r--r--cifsidmap.h14
1 files 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.
*