From patchwork Tue Jan 8 15:04:56 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Layton X-Patchwork-Id: 1946701 Return-Path: X-Original-To: patchwork-cifs-client@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 52809DF23A for ; Tue, 8 Jan 2013 15:05:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756520Ab3AHPFG (ORCPT ); Tue, 8 Jan 2013 10:05:06 -0500 Received: from mail-yh0-f51.google.com ([209.85.213.51]:40883 "EHLO mail-yh0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756480Ab3AHPFG (ORCPT ); Tue, 8 Jan 2013 10:05:06 -0500 Received: by mail-yh0-f51.google.com with SMTP id f73so90799yha.24 for ; Tue, 08 Jan 2013 07:05:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:sender:from:to:subject:date:message-id:x-mailer :x-gm-message-state; bh=/8lgCRgDVN8ltIs7hrrzpB7z82f5UkDj3lBilzGDRd0=; b=Nm5wbkUuEcNHIVP47j1oCaYCJ1/rUKqMRkJ66xcgog3B72Iw9wlyET0tNdZRtPQvlw 05fzsEzdRSU9YlYtx1b/BjG7eIl+r/OniCmuiMuxpBNMt+HYdymrWtrmkUHYdfQuiM0d aX+pLieVH+da2XAlMMXxXdt+8BkYHLGuwH3dUuRsPBZlo3u7rq+uVtghOW+qtf49o7Sm hvH4WGboepcpJIW2KD+TbiIbMGZ3iBp0JunNsktPL8XLvHcP4wGrfvAaeeYwm62FLiOn 77dtH1jU9care2jt8tPrJmngH6jQvE30iRFJC6XQmLE7r1FtYb24gHC22Tk0camPiWTS jbuw== X-Received: by 10.236.151.76 with SMTP id a52mr10468297yhk.107.1357657504728; Tue, 08 Jan 2013 07:05:04 -0800 (PST) Received: from salusa.poochiereds.net (cpe-107-015-113-143.nc.res.rr.com. [107.15.113.143]) by mx.google.com with ESMTPS id s30sm71497952yhl.21.2013.01.08.07.05.00 (version=SSLv3 cipher=OTHER); Tue, 08 Jan 2013 07:05:02 -0800 (PST) From: Jeff Layton To: linux-cifs@vger.kernel.org Subject: [PATCH] cifsidmap: clean up comments on API description Date: Tue, 8 Jan 2013 10:04:56 -0500 Message-Id: <1357657496-15867-1-git-send-email-jlayton@samba.org> X-Mailer: git-send-email 1.7.11.7 X-Gm-Message-State: ALoCoQkozGA/LMYubn1q5a5wpDJr50YH5C6cJPq7QmmRFvtjjXZeeMfwCatVI400HLvmTYkFZdrD Sender: linux-cifs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org ...typo and grammatical fixes, mostly. Signed-off-by: Jeff Layton --- 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. *