Shyam Prasad N 8ea21823aa cifs: return errors during session setup during reconnects
During reconnects, we check the return value from
cifs_negotiate_protocol, and have handlers for both success
and failures. But if that passes, and cifs_setup_session
returns any errors other than -EACCES, we do not handle
that. This fix adds a handler for that, so that we don't
go ahead and try a tree_connect on a failed session.

Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Reviewed-by: Enzo Matsumiya <ematsumiya@suse.de>
Cc: stable@vger.kernel.org
Signed-off-by: Steve French <stfrench@microsoft.com>
2022-06-06 18:23:38 -05:00
..
2021-06-20 21:28:17 -05:00
2020-06-01 00:10:18 -05:00
2022-05-24 14:11:17 -05:00
2022-01-19 11:21:08 -06:00
2022-05-25 07:41:22 -05:00
2022-05-25 07:41:22 -05:00
2022-03-18 09:29:05 +00:00
2022-03-18 09:29:05 +00:00
2022-01-19 11:21:08 -06:00
2022-06-06 01:04:12 -05:00
2022-05-23 20:24:12 -05:00
2019-01-24 09:37:33 -06:00
2021-04-25 16:28:23 -05:00