]> git.ipfire.org Git - thirdparty/linux.git/commit
cifs: Do not use tcon->cfid directly, use the cfid we get from open_cached_dir
authorRonnie Sahlberg <lsahlber@redhat.com>
Tue, 9 Aug 2022 02:11:49 +0000 (12:11 +1000)
committerSteve French <stfrench@microsoft.com>
Fri, 12 Aug 2022 01:03:04 +0000 (20:03 -0500)
commitdcb45fd7f501f86481473bde14fa0a9069ad5cdc
tree74fd9f3ef7aa0f953c461ea9c6631117dc318e7a
parent05b98fd2da6bdf241d3b9ba40582d60a84a89d70
cifs: Do not use tcon->cfid directly, use the cfid we get from open_cached_dir

They are the same right now but tcon-> will later point to a different
type of struct containing a list of cfids.

Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2inode.c
fs/cifs/smb2pdu.c