mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 12:44:03 +02:00
smb/client: show compress mount option
Example:
1. mount -t cifs -o compress //localhost/test /mnt
2. mount | grep cifs
//localhost/test on /mnt type cifs (..., compress, ...)
Signed-off-by: ChenXiaoSong <chenxiaosong@kylinos.cn>
Signed-off-by: Steve French <stfrench@microsoft.com>
This commit is contained in:
parent
075b74841b
commit
c422d34a4a
|
|
@ -692,6 +692,8 @@ cifs_show_options(struct seq_file *s, struct dentry *root)
|
|||
seq_puts(s, ",seal");
|
||||
else if (tcon->ses->server->ignore_signature)
|
||||
seq_puts(s, ",signloosely");
|
||||
if (cifs_sb->ctx->compress)
|
||||
seq_puts(s, ",compress");
|
||||
if (tcon->nocase)
|
||||
seq_puts(s, ",nocase");
|
||||
if (tcon->nodelete)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user