diff options
author | Steve French <stfrench@microsoft.com> | 2023-09-01 10:15:14 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2023-09-07 08:06:04 +0300 |
commit | 6a50d71d0ffff6791737eb502b27f74fb87d0cae (patch) | |
tree | ab9837e182ea816083b76aaada3f4ef71e85c591 /fs/smb/client/cached_dir.h | |
parent | feeec636b6b1cf3e6129e645411751b205c44976 (diff) | |
download | linux-6a50d71d0ffff6791737eb502b27f74fb87d0cae.tar.xz |
smb3: allow controlling maximum number of cached directories
Allow adjusting the maximum number of cached directories per share
(defaults to 16) via mount parm "max_cached_dirs"
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/smb/client/cached_dir.h')
-rw-r--r-- | fs/smb/client/cached_dir.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/smb/client/cached_dir.h b/fs/smb/client/cached_dir.h index facc9b154d00..a82ff2cea789 100644 --- a/fs/smb/client/cached_dir.h +++ b/fs/smb/client/cached_dir.h @@ -49,7 +49,7 @@ struct cached_fid { struct cached_dirents dirents; }; -#define MAX_CACHED_FIDS 16 +/* default MAX_CACHED_FIDS is 16 */ struct cached_fids { /* Must be held when: * - accessing the cfids->entries list |