diff options
author | Enzo Matsumiya <ematsumiya@suse.de> | 2024-02-23 17:58:57 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2024-03-11 03:52:42 +0300 |
commit | 8fe7062b7d11fcd21c4dcb5f530eaa1a099b24e7 (patch) | |
tree | e18865670d456f31c3546d5401223de10c42a7eb /fs/smb/client/fs_context.c | |
parent | 073dd87c8e1ee55ca163956f0c71249dc28aac51 (diff) | |
download | linux-8fe7062b7d11fcd21c4dcb5f530eaa1a099b24e7.tar.xz |
smb: client: negotiate compression algorithms
Change "compress=" mount option to a boolean flag, that, if set,
will enable negotiating compression algorithms with the server.
Do not de/compress anything for now.
Signed-off-by: Enzo Matsumiya <ematsumiya@suse.de>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/smb/client/fs_context.c')
-rw-r--r-- | fs/smb/client/fs_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/smb/client/fs_context.c b/fs/smb/client/fs_context.c index 4b767efa47f1..bdcbe6ff2739 100644 --- a/fs/smb/client/fs_context.c +++ b/fs/smb/client/fs_context.c @@ -963,7 +963,7 @@ static int smb3_fs_context_parse_param(struct fs_context *fc, switch (opt) { case Opt_compress: - ctx->compression = UNKNOWN_TYPE; + ctx->compress = true; cifs_dbg(VFS, "SMB3 compression support is experimental\n"); break; |