cifs: add a timeout argument to wait_for_free_credits
authorRonnie Sahlberg <lsahlber@redhat.com>
Fri, 8 Mar 2019 02:58:22 +0000 (12:58 +1000)
committerSteve French <stfrench@microsoft.com>
Fri, 15 Mar 2019 00:32:35 +0000 (19:32 -0500)
commit2b53b929faedacc6531bbb4315585cb7c14a252d
treefb8824c64da425a206749e1ae8a054177a26e4f4
parent16b34aa44b257155d9392a19e08e4ce139bc2789
cifs: add a timeout argument to wait_for_free_credits

A negative timeout is the same as the current behaviour, i.e. no timeout.

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