]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb758e6f6a21d9f96967378e9616bc1b445d55191
treefb8824c64da425a206749e1ae8a054177a26e4f4
parent53016bb2146300c4833b171fccde01cdd98600ec
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