summaryrefslogtreecommitdiff
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorPaulo Alcantara <pc@manguebit.com>2023-10-09 23:37:40 +0300
committerSteve French <stfrench@microsoft.com>2023-10-12 17:41:32 +0300
commit81ba10959970d15c388bf29866b01b62f387e6a3 (patch)
tree030184ad6cca30cb57637bc1dc3b031ad2da0cd3 /fs/jbd2/commit.c
parente95f3f74465072c2545d8e65a3c3a96e37129cf8 (diff)
downloadlinux-81ba10959970d15c388bf29866b01b62f387e6a3.tar.xz
smb: client: prevent new fids from being removed by laundromat
Check if @cfid->time is set in laundromat so we guarantee that only fully cached fids will be selected for removal. While we're at it, add missing locks to protect access of @cfid fields in order to avoid races with open_cached_dir() and cfids_laundromat_worker(), respectively. Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com> Reviewed-by: Shyam Prasad N <sprasad@microsoft.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions