aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb2inode.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <lsahlber@redhat.com>2022-08-11 19:04:29 -0500
committerSteve French <stfrench@microsoft.com>2022-08-11 20:08:32 -0500
commita63ec83c462b5b1439f71ace751e8985dfb3fcab (patch)
tree4901e893689cff4b5c8c42eba063f27fc3df7139 /fs/cifs/smb2inode.c
parentSMB3: fix lease break timeout when multiple deferred close handles for the same file. (diff)
downloadlinux-dev-a63ec83c462b5b1439f71ace751e8985dfb3fcab.tar.xz
linux-dev-a63ec83c462b5b1439f71ace751e8985dfb3fcab.zip
cifs: Add constructor/destructors for tcon->cfid
and move the structure definitions into cached_dir.h 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/smb2inode.c')
-rw-r--r--fs/cifs/smb2inode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/smb2inode.c b/fs/cifs/smb2inode.c
index 09f01f70e020..9696184a09e3 100644
--- a/fs/cifs/smb2inode.c
+++ b/fs/cifs/smb2inode.c
@@ -524,8 +524,8 @@ smb2_query_path_info(const unsigned int xid, struct cifs_tcon *tcon,
&cfid->file_all_info);
} else {
rc = SMB2_query_info(xid, tcon,
- cfid->fid->persistent_fid,
- cfid->fid->volatile_fid, smb2_data);
+ cfid->fid.persistent_fid,
+ cfid->fid.volatile_fid, smb2_data);
if (!rc)
move_smb2_info_to_cifs(data, smb2_data);
}