]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: smbd: Return -EAGAIN when transport is reconnecting
authorLong Li <longli@microsoft.com>
Wed, 16 Oct 2019 20:51:56 +0000 (13:51 -0700)
committerSteve French <stfrench@microsoft.com>
Mon, 25 Nov 2019 07:16:30 +0000 (01:16 -0600)
commit278b20f08b609f6f747fe56438823285fd565e4a
treeef5c77c9ea74e3ce4d71680b3ca8a273ecc94e73
parente37e1eb1c2791bb78b10569f1da727ba7f10a9f7
cifs: smbd: Return -EAGAIN when transport is reconnecting

During reconnecting, the transport may have already been destroyed and is in
the process being reconnected. In this case, return -EAGAIN to not fail and
to retry this I/O.

Signed-off-by: Long Li <longli@microsoft.com>
Cc: stable@vger.kernel.org
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/transport.c