]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
smb3: fix typo in mount options displayed in /proc/mounts
authorSteve French <stfrench@microsoft.com>
Wed, 10 Jun 2020 00:50:40 +0000 (19:50 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Jun 2020 14:42:51 +0000 (16:42 +0200)
commit 7866c177a03b18be3d83175014c643546e5b53c6 upstream.

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>
Reviewed-by: Shyam Prasad N <nspmangalore@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/cifs/cifsfs.c

index c31f362fa098be64e5370ea61ea3f7cd17636ae2..e4a6d9d10b9296e963c7ddc5868fbe43fa89ad6a 100644 (file)
@@ -621,7 +621,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;