summaryrefslogtreecommitdiff
path: root/fs/smb/client/cached_dir.h
diff options
context:
space:
mode:
authorRonnie Sahlberg <lsahlber@redhat.com>2023-07-06 12:32:24 +1000
committerSteve French <stfrench@microsoft.com>2023-07-05 22:36:07 -0500
commitd14de8067e3f9653cdef5a094176d00f3260ab20 (patch)
tree7a33e7c5f21232dbe162ab834ca1f7796870c5a4 /fs/smb/client/cached_dir.h
parentdfbf0ee092a5d7a9301c81e815b5e50b7c0aeeda (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.h1
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);