cifs: handle cache lookup errors different than -ENOENT
authorPaulo Alcantara <pc@cjr.nz>
Tue, 17 Jan 2023 22:00:41 +0000 (19:00 -0300)
committerSteve French <stfrench@microsoft.com>
Wed, 18 Jan 2023 16:45:58 +0000 (10:45 -0600)
commit3deddb77fdd932df92f3b6a27a9cffed82c4fe1a
treef20ce2f4d79698a3b762353b3385cdf27a51f907
parent8064f711c6a4614a848009b5a773e8d7f055a4c5
cifs: handle cache lookup errors different than -ENOENT

lookup_cache_entry() might return an error different than -ENOENT
(e.g. from ->char2uni), so handle those as well in
cache_refresh_path().

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