aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/transport.c
diff options
context:
space:
mode:
authorLong Li <longli@microsoft.com>2019-04-15 14:49:17 -0700
committerSteve French <stfrench@microsoft.com>2019-05-07 23:24:55 -0500
commit4739f2328661d070f93f9bcc8afb2a82706c826d (patch)
tree17b12780ba55f25a866e414fda77d0410b606694 /fs/cifs/transport.c
parentSMB3: Add handling for different FSCTL access flags (diff)
downloadlinux-dev-4739f2328661d070f93f9bcc8afb2a82706c826d.tar.xz
linux-dev-4739f2328661d070f93f9bcc8afb2a82706c826d.zip
cifs: smbd: take an array of reqeusts when sending upper layer data
To support compounding, __smb_send_rqst() now sends an array of requests to the transport layer. Change smbd_send() to take an array of requests, and send them in as few packets as possible. Signed-off-by: Long Li <longli@microsoft.com> Signed-off-by: Steve French <stfrench@microsoft.com> CC: Stable <stable@vger.kernel.org>
Diffstat (limited to '')
-rw-r--r--fs/cifs/transport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/transport.c b/fs/cifs/transport.c
index 65d9f3e2eb88..5c59c498f56a 100644
--- a/fs/cifs/transport.c
+++ b/fs/cifs/transport.c
@@ -319,7 +319,7 @@ __smb_send_rqst(struct TCP_Server_Info *server, int num_rqst,
__be32 rfc1002_marker;
if (cifs_rdma_enabled(server) && server->smbd_conn) {
- rc = smbd_send(server, rqst);
+ rc = smbd_send(server, num_rqst, rqst);
goto smbd_done;
}