aboutsummaryrefslogtreecommitdiff
path: root/lib/lockref.c
diff options
context:
space:
mode:
authorShyam Prasad N <sprasad@microsoft.com>2022-05-31 12:31:05 +0000
committerSteve French <stfrench@microsoft.com>2022-06-06 18:23:38 -0500
commit8ea21823aa584b55ba4b861307093b78054b0c1b (patch)
treead287f65c45d773de7b2e6e07cf39c684db6a1a3 /lib/lockref.c
parentc36ee7dab7749f7be21f7a72392744490b2a9a2b (diff)
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>
Diffstat (limited to 'lib/lockref.c')
0 files changed, 0 insertions, 0 deletions