mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 21:21:09 -04:00
cifs: Fix an uninitialised variable
Fix an uninitialised variable introduced in cifs.
Fixes: 3d78fe73fa ("cifs: Build the RDMA SGE list directly from an iterator")
Signed-off-by: David Howells <[email protected]>
Reviewed-by: Paulo Alcantara (SUSE) <[email protected]>
cc: Steve French <[email protected]>
cc: Shyam Prasad N <[email protected]>
cc: Rohith Surabattula <[email protected]>
cc: Tom Talpey <[email protected]>
cc: Jeff Layton <[email protected]>
cc: [email protected]
cc: [email protected]
Signed-off-by: Steve French <[email protected]>
This commit is contained in:
committed by
Steve French
parent
1907e0fec1
commit
4bd3e4c7e4
+1
-1
@@ -837,7 +837,7 @@ static int smbd_post_send_iter(struct smbd_connection *info,
|
||||
int data_length;
|
||||
struct smbd_request *request;
|
||||
struct smbd_data_transfer *packet;
|
||||
int new_credits;
|
||||
int new_credits = 0;
|
||||
|
||||
wait_credit:
|
||||
/* Wait for send credits. A SMBD packet needs one credit */
|
||||
|
||||
Reference in New Issue
Block a user