diff options
Diffstat (limited to 'fs/smb/client/cached_dir.h')
-rw-r--r-- | fs/smb/client/cached_dir.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/smb/client/cached_dir.h b/fs/smb/client/cached_dir.h index 4390860fc45c..81bdab01c91f 100644 --- a/fs/smb/client/cached_dir.h +++ b/fs/smb/client/cached_dir.h @@ -21,10 +21,6 @@ struct cached_dirent { struct cached_dirents { bool is_valid:1; bool is_failed:1; - struct file *file; /* - * Used to associate the cache with a single - * open file instance. - */ struct mutex de_mutex; loff_t pos; /* Expected ctx->pos */ struct list_head entries; @@ -76,6 +72,7 @@ extern struct cached_fid *init_cached_dir(struct cached_fids *cfids, const char extern int add_cached_dir(struct cifs_tcon *tcon, const char *path, struct cached_fid *cfid); extern struct cached_fid *lookup_cached_dir(struct cached_fids *cfids, const void *key, int type); +extern void invalidate_dirents(struct cached_fid *cfid); extern int open_cached_dir(unsigned int xid, struct cifs_tcon *tcon, const char *path, struct cifs_sb_info *cifs_sb, |