cifs: don't refresh cached referrals from unactive mounts
authorPaulo Alcantara <pc@cjr.nz>
Tue, 13 Dec 2022 03:29:22 +0000 (00:29 -0300)
committerSteve French <stfrench@microsoft.com>
Mon, 19 Dec 2022 14:03:12 +0000 (08:03 -0600)
commitcb3f6d8764529c33269c3478c17641cb097a615b
tree740076774454d43a523146a2efcf940ce48159c7
parenta1c0d00572fca4adcb40e1fbd3acd481fc75e20b
cifs: don't refresh cached referrals from unactive mounts

There is no point refreshing cached referrals from unactive mounts as
they will no longer be used and new mounts will either create or
refresh them anyway.

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