CIFS: Check for reconnects before sending async requests

The reconnect might have happended after we obtained credits
and before we acquired srv_mutex. Check for that under the mutex
and retry an async operation if the reconnect is detected.

Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
This commit is contained in:
Pavel Shilovsky 2019-01-15 15:52:29 -08:00 • committed by Steve French
commit 3349c3a79f
4 changed files with 25 additions and 9 deletions