]> asedeno.scripts.mit.edu Git - linux.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)
commit3349c3a79fb5d7632bfe426c014cbb589d1ca8e0
tree21c3a55530782e36a9efb962abb67f73769b345d
parent34f4deb7c56c6fdc77a7e414203f0045bb6db32b
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