aboutsummaryrefslogtreecommitdiff
path: root/fs/cifs/cached_dir.h
diff options
context:
space:
mode:
authorGravatar Ronnie Sahlberg <lsahlber@redhat.com> 2022-08-11 19:51:18 -0500
committerGravatar Steve French <stfrench@microsoft.com> 2022-08-12 17:40:15 -0500
commit7eb59a98701d3113671b513593bb489cc76f58d2 (patch)
tree307b4338c95b6a53760256c015d3ecdf4b898075 /fs/cifs/cached_dir.h
parentcifs: Add constructor/destructors for tcon->cfid (diff)
downloadlinux-7eb59a98701d3113671b513593bb489cc76f58d2.tar.gz
linux-7eb59a98701d3113671b513593bb489cc76f58d2.tar.bz2
linux-7eb59a98701d3113671b513593bb489cc76f58d2.zip
cifs: Do not access tcon->cfids->cfid directly from is_path_accessible
cfids will soon keep a list of cached fids so we should not access this directly from outside of cached_dir.c Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz> Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/cached_dir.h')
-rw-r--r--fs/cifs/cached_dir.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cached_dir.h b/fs/cifs/cached_dir.h
index 89c0343d7e26..bd262dc8b179 100644
--- a/fs/cifs/cached_dir.h
+++ b/fs/cifs/cached_dir.h
@@ -50,7 +50,7 @@ extern void free_cached_dir(struct cifs_tcon *tcon);
extern int open_cached_dir(unsigned int xid, struct cifs_tcon *tcon,
const char *path,
struct cifs_sb_info *cifs_sb,
- struct cached_fid **cfid);
+ bool lookup_only, struct cached_fid **cfid);
extern int open_cached_dir_by_dentry(struct cifs_tcon *tcon,
struct dentry *dentry,
struct cached_fid **cfid);