Commit 4bd3e4c7 authored by David Howells's avatar David Howells Committed by Steve French

cifs: Fix an uninitialised variable

Fix an uninitialised variable introduced in cifs.

Fixes: 3d78fe73 ("cifs: Build the RDMA SGE list directly from an iterator")
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Reviewed-by: default avatarPaulo Alcantara (SUSE) <pc@cjr.nz>
cc: Steve French <sfrench@samba.org>
cc: Shyam Prasad N <nspmangalore@gmail.com>
cc: Rohith Surabattula <rohiths.msft@gmail.com>
cc: Tom Talpey <tom@talpey.com>
cc: Jeff Layton <jlayton@kernel.org>
cc: linux-cifs@vger.kernel.org
cc: linux-rdma@vger.kernel.org
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent 1907e0fe
...@@ -837,7 +837,7 @@ static int smbd_post_send_iter(struct smbd_connection *info, ...@@ -837,7 +837,7 @@ static int smbd_post_send_iter(struct smbd_connection *info,
int data_length; int data_length;
struct smbd_request *request; struct smbd_request *request;
struct smbd_data_transfer *packet; struct smbd_data_transfer *packet;
int new_credits; int new_credits = 0;
wait_credit: wait_credit:
/* Wait for send credits. A SMBD packet needs one credit */ /* Wait for send credits. A SMBD packet needs one credit */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment