cifs: don't take exclusive lock for updating target hints
authorPaulo Alcantara <pc@cjr.nz>
Tue, 17 Jan 2023 22:00:39 +0000 (19:00 -0300)
committerSteve French <stfrench@microsoft.com>
Wed, 18 Jan 2023 16:45:58 +0000 (10:45 -0600)
commit11c8b3f8493cb5253da42fcd178d9b4630063f96
tree01cbf916dc25f15179418895da43c44b6f3868f1
parent48d240bf00af943db6f069a53f090e444e85f760
cifs: don't take exclusive lock for updating target hints

Avoid contention while updating dfs target hints.  This should be
perfectly fine to update them under shared locks.

Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/dfs_cache.c