]> git.ipfire.org Git - people/ms/linux.git/commit - fs/cifs/transport.c
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)
commit4357d45f50e58672e1d17648d792f27df01dfccd
treeef5c77c9ea74e3ce4d71680b3ca8a273ecc94e73
parentc21ce58eab1eda4c66507897207e20c82e62a5ac
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