CIFS: Do not assume one credit for async responses
authorPavel Shilovsky <pshilov@microsoft.com>
Tue, 15 Jan 2019 23:08:48 +0000 (15:08 -0800)
committerSteve French <stfrench@microsoft.com>
Thu, 24 Jan 2019 20:52:06 +0000 (14:52 -0600)
commit0fd1d37b0501efc6e295f56ab55cdaff784aa50c
tree0456d0fd14631d311e855a4fc64ea1d85ed7699a
parent3d3003fce8e837acc4e3960fe3cbabebc356dcb5
CIFS: Do not assume one credit for async responses

If we don't receive a response we can't assume that the server
granted one credit. Assume zero credits in such cases.

Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2pdu.c