diff mbox series

smb3: fix typo in mount options displayed in /proc/mounts

Message ID CAH2r5mv-BZbqsDaTu+PX7Q+zxcosn=N5mM28Thr0LGyAKi9MRQ@mail.gmail.com
State New
Headers show
Series smb3: fix typo in mount options displayed in /proc/mounts | expand

Commit Message

Steve French June 10, 2020, 12:54 a.m. UTC
Missing the final 's' in "max_channels" mount option when displayed in
/proc/mounts (or by mount command)

CC: Stable <stable@vger.kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
---
 fs/cifs/cifsfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Shyam Prasad N June 10, 2020, 5:28 p.m. UTC | #1
Looks good to me.

Reviewed-by: Shyam Prasad N <sprasad@microsoft.com>


On Wed, Jun 10, 2020 at 6:25 AM Steve French <smfrench@gmail.com> wrote:
>
> Missing the final 's' in "max_channels" mount option when displayed in
> /proc/mounts (or by mount command)
>
> CC: Stable <stable@vger.kernel.org>
> Signed-off-by: Steve French <stfrench@microsoft.com>
> ---
>  fs/cifs/cifsfs.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
> index 889f9c71049b..0fb99d25e8a8 100644
> --- a/fs/cifs/cifsfs.c
> +++ b/fs/cifs/cifsfs.c
> @@ -623,7 +623,7 @@ cifs_show_options(struct seq_file *s, struct dentry *root)
>   seq_printf(s, ",actimeo=%lu", cifs_sb->actimeo / HZ);
>
>   if (tcon->ses->chan_max > 1)
> - seq_printf(s, ",multichannel,max_channel=%zu",
> + seq_printf(s, ",multichannel,max_channels=%zu",
>      tcon->ses->chan_max);
>
>   return 0;
>
> --
> Thanks,
>
> Steve
diff mbox series

Patch

From 1ecf0bef0169948849b828bc9412d77e954abf36 Mon Sep 17 00:00:00 2001
From: Steve French <stfrench@microsoft.com>
Date: Tue, 9 Jun 2020 19:50:40 -0500
Subject: [PATCH] smb3: fix typo in mount options displayed in /proc/mounts

Missing the final 's' in "max_channels" mount option when displayed in
/proc/mounts (or by mount command)

CC: Stable <stable@vger.kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
---
 fs/cifs/cifsfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
index 889f9c71049b..0fb99d25e8a8 100644
--- a/fs/cifs/cifsfs.c
+++ b/fs/cifs/cifsfs.c
@@ -623,7 +623,7 @@  cifs_show_options(struct seq_file *s, struct dentry *root)
 	seq_printf(s, ",actimeo=%lu", cifs_sb->actimeo / HZ);
 
 	if (tcon->ses->chan_max > 1)
-		seq_printf(s, ",multichannel,max_channel=%zu",
+		seq_printf(s, ",multichannel,max_channels=%zu",
 			   tcon->ses->chan_max);
 
 	return 0;
-- 
2.25.1