diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2023-09-09 19:56:23 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2023-09-09 19:56:23 -0700 |
commit | fd3a5940e66d059d375bdb9e2d7d06c56f630d7e (patch) | |
tree | 8893c1af64059fb3ae78f1d11d685e9d3784f174 /fs/smb/client/connect.c | |
parent | a3c57ab79a06e333a869ae340420cb3c6f5921d3 (diff) | |
parent | 5d153cd128251aaedc8e9657f0a949ec94952055 (diff) | |
download | linux-stable-fd3a5940e66d059d375bdb9e2d7d06c56f630d7e.tar.gz linux-stable-fd3a5940e66d059d375bdb9e2d7d06c56f630d7e.tar.bz2 linux-stable-fd3a5940e66d059d375bdb9e2d7d06c56f630d7e.zip |
Merge tag '6.6-rc-smb3-client-fixes-part2' of git://git.samba.org/sfrench/cifs-2.6
Pull smb client fixes from Steve French:
- six smb3 client fixes including ones to allow controlling smb3
directory caching timeout and limits, and one debugging improvement
- one fix for nls Kconfig (don't need to expose NLS_UCS2_UTILS option)
- one minor spnego registry update
* tag '6.6-rc-smb3-client-fixes-part2' of git://git.samba.org/sfrench/cifs-2.6:
spnego: add missing OID to oid registry
smb3: fix minor typo in SMB2_GLOBAL_CAP_LARGE_MTU
cifs: update internal module version number for cifs.ko
smb3: allow controlling maximum number of cached directories
smb3: add trace point for queryfs (statfs)
nls: Hide new NLS_UCS2_UTILS
smb3: allow controlling length of time directory entries are cached with dir leases
smb: propagate error code of extract_sharename()
Diffstat (limited to 'fs/smb/client/connect.c')
-rw-r--r-- | fs/smb/client/connect.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/smb/client/connect.c b/fs/smb/client/connect.c index 3bd71f982170..687754791bf0 100644 --- a/fs/smb/client/connect.c +++ b/fs/smb/client/connect.c @@ -2657,6 +2657,7 @@ cifs_get_tcon(struct cifs_ses *ses, struct smb3_fs_context *ctx) tcon->retry = ctx->retry; tcon->nocase = ctx->nocase; tcon->broken_sparse_sup = ctx->no_sparse; + tcon->max_cached_dirs = ctx->max_cached_dirs; if (ses->server->capabilities & SMB2_GLOBAL_CAP_DIRECTORY_LEASING) tcon->nohandlecache = ctx->nohandlecache; else |