diff mbox

cifs: Trivial comment fixes

Message ID 1365614212-13433-1-git-send-email-scott.lovenberg@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Scott Lovenberg April 10, 2013, 5:16 p.m. UTC
From: Scott Lovenberg <scott.lovenberg@gmail.com>

Two trivial comment fixes.

Signed-off-by: Scott Lovenberg <scott.lovenberg@gmail.com>
---
 mount.cifs.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Comments

Jeff Layton April 10, 2013, 5:25 p.m. UTC | #1
On Wed, 10 Apr 2013 13:16:52 -0400
scott.lovenberg@gmail.com wrote:

> From: Scott Lovenberg <scott.lovenberg@gmail.com>
> 
> Two trivial comment fixes.
> 
> Signed-off-by: Scott Lovenberg <scott.lovenberg@gmail.com>
> ---
>  mount.cifs.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/mount.cifs.c b/mount.cifs.c
> index 4548fc6..58b127a 100644
> --- a/mount.cifs.c
> +++ b/mount.cifs.c
> @@ -975,7 +975,7 @@ parse_options(const char *data, struct parsed_mount_info *parsed_info)
>  
>  			fprintf(stderr, "bad option: gid=\"%s\"\n", value);
>  			return EX_USAGE;
> -		/* fmask fall through to file_mode */
> +		/* fmask falls through to file_mode */
>  		case OPT_FMASK:
>  			fprintf(stderr,
>  				"WARNING: CIFS mount option 'fmask' is\
> @@ -1145,7 +1145,7 @@ nocopy:
>  	if (got_cruid) {
>  		word_len = snprintf(txtbuf, sizeof(txtbuf), "%u", cruid);
>  
> -		/* comma + "cruid=" + terminating NULL == 6 */
> +		/* comma + "cruid=" + terminating NULL == 8 */
>  		if (out_len + word_len + 8 > MAX_OPTIONS_LEN) {
>  			fprintf(stderr, "Options string too long\n");
>  			return EX_USAGE;

Looks good. Will merge in a day or two assuming no one objects.

Thanks,
diff mbox

Patch

diff --git a/mount.cifs.c b/mount.cifs.c
index 4548fc6..58b127a 100644
--- a/mount.cifs.c
+++ b/mount.cifs.c
@@ -975,7 +975,7 @@  parse_options(const char *data, struct parsed_mount_info *parsed_info)
 
 			fprintf(stderr, "bad option: gid=\"%s\"\n", value);
 			return EX_USAGE;
-		/* fmask fall through to file_mode */
+		/* fmask falls through to file_mode */
 		case OPT_FMASK:
 			fprintf(stderr,
 				"WARNING: CIFS mount option 'fmask' is\
@@ -1145,7 +1145,7 @@  nocopy:
 	if (got_cruid) {
 		word_len = snprintf(txtbuf, sizeof(txtbuf), "%u", cruid);
 
-		/* comma + "cruid=" + terminating NULL == 6 */
+		/* comma + "cruid=" + terminating NULL == 8 */
 		if (out_len + word_len + 8 > MAX_OPTIONS_LEN) {
 			fprintf(stderr, "Options string too long\n");
 			return EX_USAGE;