aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/lib/kdoc/kdoc_parser.py
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2025-10-01 21:49:59 -0500
committerSteve French <stfrench@microsoft.com>2025-10-01 21:49:59 -0500
commita365f2c049b3846640234bc25e4f8c46abea6c98 (patch)
tree5864c90d8caa6d1cefc1b98b87bf930cb7f502f7 /scripts/lib/kdoc/kdoc_parser.py
parentsmb: client: account smb directory cache usage and per-tcon totals (diff)
downloadwireguard-linux-a365f2c049b3846640234bc25e4f8c46abea6c98.tar.xz
wireguard-linux-a365f2c049b3846640234bc25e4f8c46abea6c98.zip
smb: client: ensure open_cached_dir_by_dentry() only returns valid cfid
open_cached_dir_by_dentry() was exposing an invalid cached directory to callers. The validity check outside the function was exclusively based on cfid->time. Add validity check before returning success and introduce is_valid_cached_dir() helper for consistent checks across the code. Signed-off-by: Henrique Carvalho <henrique.carvalho@suse.com> Reviwed-by: Enzo Matsumiya <ematsumiya@suse.de> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions