diff options
author | Shyam Prasad N <sprasad@microsoft.com> | 2023-03-16 10:45:12 +0000 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2023-03-17 13:22:22 -0500 |
commit | 2f0e4f0342201fe2228fcc2301cc2b42ae04b8e3 (patch) | |
tree | ff9f3007acd94a8ea7da0e2636ed44f0e3c6c98e /arch | |
parent | 38e04b3e4240a6d8fb43129ebad41608db64bc6f (diff) | |
download | linux-stable-2f0e4f0342201fe2228fcc2301cc2b42ae04b8e3.tar.gz linux-stable-2f0e4f0342201fe2228fcc2301cc2b42ae04b8e3.tar.bz2 linux-stable-2f0e4f0342201fe2228fcc2301cc2b42ae04b8e3.zip |
cifs: check only tcon status on tcon related functions
We had a couple of checks for session in cifs_tree_connect
and cifs_mark_open_files_invalid, which were unnecessary.
And that was done with ses_lock. Changed that to tc_lock too.
Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Reviewed-by: Paulo Alcantara (SUSE) <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions