]> git.baikalelectronics.ru Git - kernel.git/commit
CIFS: Check for reconnects before sending async requests
authorPavel Shilovsky <pshilov@microsoft.com>
Tue, 15 Jan 2019 23:52:29 +0000 (15:52 -0800)
committerSteve French <stfrench@microsoft.com>
Wed, 6 Mar 2019 00:10:01 +0000 (18:10 -0600)
commitaaac72738afb98d42efe5f41dca6063897e66553
tree21c3a55530782e36a9efb962abb67f73769b345d
parent783bd7efcff7678b025036a64f43db50b9967c87
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>
fs/cifs/cifsproto.h
fs/cifs/cifssmb.c
fs/cifs/smb2pdu.c
fs/cifs/transport.c