]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: Do not access tcon->cfids->cfid directly from is_path_accessible
authorRonnie Sahlberg <lsahlber@redhat.com>
Fri, 12 Aug 2022 00:51:18 +0000 (19:51 -0500)
committerSteve French <stfrench@microsoft.com>
Fri, 12 Aug 2022 22:40:15 +0000 (17:40 -0500)
commitdb0094640eec7cd94026351901023ac214bce6f6
tree307b4338c95b6a53760256c015d3ecdf4b898075
parentd05701556fa15c8744495fd7a4febb556215ed9e
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>
fs/cifs/cached_dir.c
fs/cifs/cached_dir.h
fs/cifs/readdir.c
fs/cifs/smb2inode.c
fs/cifs/smb2ops.c