summaryrefslogtreecommitdiff
path: root/include/uapi/linux/virtio_config.h
diff options
context:
space:
mode:
authorShyam Prasad N <sprasad@microsoft.com>2022-05-31 12:31:05 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-06-14 18:41:44 +0200
commit5a61ba459e128b2afdce21612b8cda8a80616954 (patch)
tree63c7a941914350696b4422628224c827c49b8e5b /include/uapi/linux/virtio_config.h
parentf22261adffc2f939004e27ba814bf60288c23eae (diff)
cifs: return errors during session setup during reconnects
commit 8ea21823aa584b55ba4b861307093b78054b0c1b upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/uapi/linux/virtio_config.h')
0 files changed, 0 insertions, 0 deletions