diff options
author | Ronnie Sahlberg <lsahlber@redhat.com> | 2022-08-11 06:00:08 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2022-08-11 18:33:18 +0300 |
commit | 05b98fd2da6bdf241d3b9ba40582d60a84a89d70 (patch) | |
tree | 8d32c6b3ed80270c9c81574fc9449e9b783ee2e2 /fs/cifs/smb2pdu.c | |
parent | cd04345598b7c191d41574bc9da3fe435dc65605 (diff) | |
download | linux-05b98fd2da6bdf241d3b9ba40582d60a84a89d70.tar.xz |
cifs: Move cached-dir functions into a separate file
Also rename crfid to cfid to have consistent naming for this variable.
This commit does not change any logic.
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/smb2pdu.c')
-rw-r--r-- | fs/cifs/smb2pdu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/cifs/smb2pdu.c b/fs/cifs/smb2pdu.c index 590a1d4ac140..7c200b938267 100644 --- a/fs/cifs/smb2pdu.c +++ b/fs/cifs/smb2pdu.c @@ -39,6 +39,7 @@ #ifdef CONFIG_CIFS_DFS_UPCALL #include "dfs_cache.h" #endif +#include "cached_dir.h" /* * The following table defines the expected "StructureSize" of SMB2 requests @@ -1978,7 +1979,7 @@ SMB2_tdis(const unsigned int xid, struct cifs_tcon *tcon) } spin_unlock(&ses->chan_lock); - close_cached_dir_lease(&tcon->crfid); + close_cached_dir_lease(&tcon->cfid); rc = smb2_plain_req_init(SMB2_TREE_DISCONNECT, tcon, ses->server, (void **) &req, |