aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c
diff options
context:
space:
mode:
authorHenrique Carvalho <henrique.carvalho@suse.com>2024-11-22 22:14:35 -0300
committerSteve French <stfrench@microsoft.com>2024-11-25 13:19:55 -0600
commitceaf1451990e3ea7fb50aebb5a149f57945f6e9f (patch)
tree518054340b4209dc1f9f32fcaf978c81f819fc84 /drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c
parentsmb: client: remove unnecessary checks in open_cached_dir() (diff)
downloadlinux-rng-ceaf1451990e3ea7fb50aebb5a149f57945f6e9f.tar.xz
linux-rng-ceaf1451990e3ea7fb50aebb5a149f57945f6e9f.zip
smb: client: disable directory caching when dir_cache_timeout is zero
Setting dir_cache_timeout to zero should disable the caching of directory contents. Currently, even when dir_cache_timeout is zero, some caching related functions are still invoked, which is unintended behavior. Fix the issue by setting tcon->nohandlecache to true when dir_cache_timeout is zero, ensuring that directory handle caching is properly disabled. Fixes: 238b351d0935 ("smb3: allow controlling length of time directory entries are cached with dir leases") Reviewed-by: Paulo Alcantara (Red Hat) <pc@manguebit.com> Reviewed-by: Enzo Matsumiya <ematsumiya@suse.de> Signed-off-by: Henrique Carvalho <henrique.carvalho@suse.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c')
0 files changed, 0 insertions, 0 deletions