Skip to content

Commit dc76502

Browse files
sprasad-microsoftsmfrench
authored andcommitted
cifs: print nosharesock value while dumping mount options
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>
1 parent da787d5 commit dc76502

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

fs/smb/client/cifsfs.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -688,6 +688,8 @@ cifs_show_options(struct seq_file *s, struct dentry *root)
688688
seq_puts(s, ",noautotune");
689689
if (tcon->ses->server->noblocksnd)
690690
seq_puts(s, ",noblocksend");
691+
if (tcon->ses->server->nosharesock)
692+
seq_puts(s, ",nosharesock");
691693

692694
if (tcon->snapshot_time)
693695
seq_printf(s, ",snapshot=%llu", tcon->snapshot_time);

0 commit comments

Comments
 (0)