cifs: print nosharesock value while dumping mount options
authorShyam Prasad N <sprasad@microsoft.com>
Fri, 16 Jun 2023 10:37:45 +0000 (10:37 +0000)
committerSteve French <stfrench@microsoft.com>
Mon, 19 Jun 2023 23:16:26 +0000 (18:16 -0500)
We print most other mount options for a mount when dumping
the mount entries. But miss out the nosharesock value.
This change will print that in addition to the other options.

Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Reviewed-by: Bharath SM <bharathsm@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/cifsfs.c

index 43a4d86..86ac620 100644 (file)
@@ -688,6 +688,8 @@ cifs_show_options(struct seq_file *s, struct dentry *root)
                seq_puts(s, ",noautotune");
        if (tcon->ses->server->noblocksnd)
                seq_puts(s, ",noblocksend");
+       if (tcon->ses->server->nosharesock)
+               seq_puts(s, ",nosharesock");
 
        if (tcon->snapshot_time)
                seq_printf(s, ",snapshot=%llu", tcon->snapshot_time);