diff options
author | Ronnie Sahlberg <lsahlber@redhat.com> | 2023-07-06 12:32:24 +1000 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2023-07-05 22:36:07 -0500 |
commit | d14de8067e3f9653cdef5a094176d00f3260ab20 (patch) | |
tree | 7a33e7c5f21232dbe162ab834ca1f7796870c5a4 /fs/smb/client/cached_dir.h | |
parent | dfbf0ee092a5d7a9301c81e815b5e50b7c0aeeda (diff) |
cifs: Add a laundromat thread for cached directories
and drop cached directories after 30 seconds
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/smb/client/cached_dir.h')
-rw-r--r-- | fs/smb/client/cached_dir.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/smb/client/cached_dir.h b/fs/smb/client/cached_dir.h index 2f4e764c9ca9..facc9b154d00 100644 --- a/fs/smb/client/cached_dir.h +++ b/fs/smb/client/cached_dir.h @@ -57,6 +57,7 @@ struct cached_fids { spinlock_t cfid_list_lock; int num_entries; struct list_head entries; + struct task_struct *laundromat; }; extern struct cached_fids *init_cached_dirs(void); |