summaryrefslogtreecommitdiff
path: root/fs/smb/client/cached_dir.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/smb/client/cached_dir.h')
-rw-r--r--fs/smb/client/cached_dir.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/fs/smb/client/cached_dir.h b/fs/smb/client/cached_dir.h
index 1dfe79d947a6..b047a13ed718 100644
--- a/fs/smb/client/cached_dir.h
+++ b/fs/smb/client/cached_dir.h
@@ -7,8 +7,6 @@
#ifndef _CACHED_DIR_H
#define _CACHED_DIR_H
-
-
struct cached_dirent {
struct list_head entry;
char *name;
@@ -45,22 +43,16 @@ struct cached_fid {
struct cifs_tcon *tcon;
struct dentry *dentry;
struct work_struct put_work;
- struct work_struct close_work;
struct smb2_file_all_info file_all_info;
struct cached_dirents dirents;
};
/* default MAX_CACHED_FIDS is 16 */
struct cached_fids {
- /* Must be held when:
- * - accessing the cfids->entries list
- * - accessing the cfids->dying list
- */
+ /* Must be held when accessing the cfids->entries list */
spinlock_t cfid_list_lock;
int num_entries;
struct list_head entries;
- struct list_head dying;
- struct work_struct invalidation_work;
struct delayed_work laundromat_work;
};