diff options
author | Steve French <stfrench@microsoft.com> | 2020-06-12 03:23:38 +0200 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2020-06-12 13:21:06 +0200 |
commit | b1bc1874b885683df5da9d9548ca66dfc0e407f2 (patch) | |
tree | 26f569f94dd31dd6b5561440df6532df6b3594aa /fs/cifs/smb2proto.h | |
parent | SMB311: Add support for query info using posix extensions (level 100) (diff) | |
download | linux-b1bc1874b885683df5da9d9548ca66dfc0e407f2.tar.xz linux-b1bc1874b885683df5da9d9548ca66dfc0e407f2.zip |
smb311: Add support for SMB311 query info (non-compounded)
Add worker function for non-compounded SMB3.1.1 POSIX Extensions query info.
This is needed for revalidate of root (cached) directory for example.
Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Diffstat (limited to 'fs/cifs/smb2proto.h')
-rw-r--r-- | fs/cifs/smb2proto.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/smb2proto.h b/fs/cifs/smb2proto.h index a5c6da59847e..2f8ecbf54214 100644 --- a/fs/cifs/smb2proto.h +++ b/fs/cifs/smb2proto.h @@ -182,6 +182,8 @@ extern int SMB2_flush_init(const unsigned int xid, struct smb_rqst *rqst, struct TCP_Server_Info *server, u64 persistent_file_id, u64 volatile_file_id); extern void SMB2_flush_free(struct smb_rqst *rqst); +extern int SMB311_posix_query_info(const unsigned int xid, struct cifs_tcon *tcon, + u64 persistent_fid, u64 volatile_fid, struct smb311_posix_qinfo *data, u32 *plen); extern int SMB2_query_info(const unsigned int xid, struct cifs_tcon *tcon, u64 persistent_file_id, u64 volatile_file_id, struct smb2_file_all_info *data); |