]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: fix wrong unlock before return from cifs_tree_connect()
authorYang Yingliang <yangyingliang@huawei.com>
Fri, 29 Jul 2022 07:49:35 +0000 (15:49 +0800)
committerSteve French <stfrench@microsoft.com>
Mon, 1 Aug 2022 06:34:45 +0000 (01:34 -0500)
commitc37ee41ecd05501b43f3d5d059a93556123cca0e
tree48a71c41439fa4ee707d081b979b6352380d0460
parent252294d3f636af3f5ab38136d3d97b8f6be3386b
cifs: fix wrong unlock before return from cifs_tree_connect()

It should unlock 'tcon->tc_lock' before return from cifs_tree_connect().

Fixes: fe67bd563ec2 ("cifs: avoid use of global locks for high contention data")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Reviewed-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/connect.c