diff options
author | Ronnie Sahlberg <lsahlber@redhat.com> | 2020-01-08 06:08:04 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2020-01-27 04:24:16 +0300 |
commit | 0a17799cc02f81c4c82c2de6f7071701714c2267 (patch) | |
tree | a304e30fb1fc4659d23de397beeaa962cb9635fe /fs/cifs/smb2proto.h | |
parent | 01d1bd76a170c1cf1864b3b3ef1f8502f189148e (diff) | |
download | linux-0a17799cc02f81c4c82c2de6f7071701714c2267.tar.xz |
cifs: prepare SMB2_query_directory to be used with compounding
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
Diffstat (limited to 'fs/cifs/smb2proto.h')
-rw-r--r-- | fs/cifs/smb2proto.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/cifs/smb2proto.h b/fs/cifs/smb2proto.h index 27d29f2eb6c8..6c678e00046f 100644 --- a/fs/cifs/smb2proto.h +++ b/fs/cifs/smb2proto.h @@ -197,6 +197,11 @@ extern int SMB2_echo(struct TCP_Server_Info *server); extern int SMB2_query_directory(const unsigned int xid, struct cifs_tcon *tcon, u64 persistent_fid, u64 volatile_fid, int index, struct cifs_search_info *srch_inf); +extern int SMB2_query_directory_init(unsigned int xid, struct cifs_tcon *tcon, + struct smb_rqst *rqst, + u64 persistent_fid, u64 volatile_fid, + int index, int info_level); +extern void SMB2_query_directory_free(struct smb_rqst *rqst); extern int SMB2_set_eof(const unsigned int xid, struct cifs_tcon *tcon, u64 persistent_fid, u64 volatile_fid, u32 pid, __le64 *eof); |