]> 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)
commit517fb4944b5f2826329082a65da08155c1b44a38
tree307b4338c95b6a53760256c015d3ecdf4b898075
parent2afec562b8c1090c8edd64a7a1d398c2245cef3f
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