diff options
-rw-r--r-- | fs/smb/client/cifs_debug.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/fs/smb/client/cifs_debug.c b/fs/smb/client/cifs_debug.c index 6d67cc280948..97eedfcd57cc 100644 --- a/fs/smb/client/cifs_debug.c +++ b/fs/smb/client/cifs_debug.c @@ -112,6 +112,8 @@ static void cifs_debug_tcon(struct seq_file *m, struct cifs_tcon *tcon) (tcon->ses->session_flags & SMB2_SESSION_FLAG_ENCRYPT_DATA) || (tcon->share_flags & SHI1005_FLAGS_ENCRYPT_DATA)) seq_puts(m, " encrypted"); + if (tcon->share_flags & SMB2_SHAREFLAG_COMPRESS_DATA) + seq_puts(m, " compressed"); if (tcon->nocase) seq_printf(m, " nocase"); if (tcon->unix_ext) @@ -481,7 +483,9 @@ skip_rdma: else if (!server->compression.requested) seq_puts(m, "disabled on mount"); else if (server->compression.enabled) - seq_printf(m, "enabled (%s)", compression_alg_str(server->compression.alg)); + seq_printf(m, "enabled (%s, %schained)", + compression_alg_str(server->compression.alg), + server->compression.chained ? "" : "un"); else seq_puts(m, "disabled (not supported by this server)"); |