aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsproto.h
diff options
context:
space:
mode:
authorAurelien Aptel <aaptel@suse.com>2020-04-22 15:58:57 +0200
committerSteve French <stfrench@microsoft.com>2020-06-02 09:58:41 -0500
commit5f68ea4aa98bcddb5ec5229d2a0933d84ed17732 (patch)
tree7baa63a0ea83697cc0b45181a155140e1068825f /fs/cifs/cifsproto.h
parentcifs: fix minor typos in comments and log messages (diff)
downloadlinux-dev-5f68ea4aa98bcddb5ec5229d2a0933d84ed17732.tar.xz
linux-dev-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.h1
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);