diff options
author | Enzo Matsumiya <ematsumiya@suse.de> | 2025-09-12 13:31:45 -0300 |
---|---|---|
committer | Enzo Matsumiya <ematsumiya@suse.de> | 2025-09-12 17:27:38 -0300 |
commit | d19ccabc31636d5893ec175c96ed87f8ecdd8d5e (patch) | |
tree | 5e3b00996c491421a91c734840bc2fe5b72c6ce6 /fs/zonefs | |
parent | 48e413d9e73badac50d6cc0fe2b10808c9d56f3a (diff) | |
download | linux-cfid-fixes-2025-09-12.tar.gz linux-cfid-fixes-2025-09-12.tar.bz2 linux-cfid-fixes-2025-09-12.zip |
smb: client: fix dentry revalidation of cached rootcfid-fixes-2025-09-12
Don't check root dir dentry in cifs_dentry_needs_reval() as its inode
was created before the cfid, so the time check will fail and trigger an
unnecessary revalidation.
Also account for dir_cache_timeout in time comparison, because if we
have a cached dir, we have a lease for it, and, thus, may assume its
children are (still) valid. To confirm that, let the ac*max checks
go through for granular results.
Signed-off-by: Enzo Matsumiya <ematsumiya@suse.de>
Diffstat (limited to 'fs/zonefs')
0 files changed, 0 insertions, 0 deletions