]> 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:41:56 +0000 (16:41 +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 fa77fe5258b0726ced3bc4a29180590a93c12aaf..82d5ea522c33fec94aba77b6a68415151c1a99dd 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;