]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
smb: client: update cfid->last_access_time in open_cached_dir_by_dentry()
authorHenrique Carvalho <henrique.carvalho@suse.com>
Fri, 19 Sep 2025 01:41:58 +0000 (22:41 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Nov 2025 20:37:34 +0000 (15:37 -0500)
commit064ff81c51e8812f2f57ccfc4fc9e4480b1f187d
tree38186675bce87d536a17851f8be8bc671b762562
parente3ba9392fc6a42d5c9482fe940555dbe4b81cb8c
smb: client: update cfid->last_access_time in open_cached_dir_by_dentry()

[ Upstream commit 5676398315b73f21d6a4e2d36606ce94e8afc79e ]

open_cached_dir_by_dentry() was missing an update of
cfid->last_access_time to jiffies, similar to what open_cached_dir()
has.

Add it to the function.

Signed-off-by: Henrique Carvalho <henrique.carvalho@suse.com>
Reviewed-by: Enzo Matsumiya <ematsumiya@suse.de>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/smb/client/cached_dir.c