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: NShyam Prasad N <sprasad@microsoft.com> Reviewed-by: NEnzo Matsumiya <ematsumiya@suse.de> Cc: stable@vger.kernel.org Signed-off-by: NSteve French <stfrench@microsoft.com>
Showing
想要评论请 注册 或 登录