Aurelien Aptel a249cc8bc2 cifs: fix credit accounting for extra channel
With multichannel, operations like the queries
from "ls -lR" can cause all credits to be used and
errors to be returned since max_credits was not
being set correctly on the secondary channels and
thus the client was requesting 0 credits incorrectly
in some cases (which can lead to not having
enough credits to perform any operation on that
channel).

Signed-off-by: Aurelien Aptel <aaptel@suse.com>
CC: <stable@vger.kernel.org> # v5.8+
Reviewed-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
2021-03-06 11:35:57 -06:00
..
2020-10-22 12:17:52 -05:00
2020-06-01 00:10:18 -05:00
2021-01-28 21:40:43 -06:00
2020-06-01 00:10:18 -05:00
2021-02-23 13:39:45 -08:00
2020-07-09 10:06:52 -05:00
2020-12-14 09:16:22 -06:00
2021-01-24 14:27:20 +01:00
2020-08-02 18:00:25 -05:00
2020-10-19 15:11:11 -05:00
2019-01-24 09:37:33 -06:00
2021-01-24 14:27:17 +01:00