diff options
author | Aurelien Aptel <aaptel@suse.com> | 2020-04-22 15:58:57 +0200 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2020-06-02 09:58:41 -0500 |
commit | 5f68ea4aa98bcddb5ec5229d2a0933d84ed17732 (patch) | |
tree | 7baa63a0ea83697cc0b45181a155140e1068825f /fs/cifs/cifsproto.h | |
parent | bbbf9eafbfdaa2af75fb5ed6d5ddb01be89e6d30 (diff) | |
download | lwn-5f68ea4aa98bcddb5ec5229d2a0933d84ed17732.tar.gz lwn-5f68ea4aa98bcddb5ec5229d2a0933d84ed17732.zip |
cifs: multichannel: move channel selection in function
This commit moves channel picking code in separate function.
Signed-off-by: Aurelien Aptel <aaptel@suse.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/cifsproto.h')
-rw-r--r-- | fs/cifs/cifsproto.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h index 8036216ce434..9767f9b5d315 100644 --- a/fs/cifs/cifsproto.h +++ b/fs/cifs/cifsproto.h @@ -96,6 +96,7 @@ extern int cifs_call_async(struct TCP_Server_Info *server, mid_receive_t *receive, mid_callback_t *callback, mid_handle_t *handle, void *cbdata, const int flags, const struct cifs_credits *exist_credits); +extern struct TCP_Server_Info *cifs_pick_channel(struct cifs_ses *ses); extern int cifs_send_recv(const unsigned int xid, struct cifs_ses *ses, struct smb_rqst *rqst, int *resp_buf_type, const int flags, struct kvec *resp_iov); |