mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-22 13:54:57 +08:00
cifs: Fix return value in __update_cache_entry
copy_ref_data() may return error, it should be returned to upstream caller. Fixes: 03535b72873b ("cifs: Avoid doing network I/O while holding cache lock") Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Steve French <stfrench@microsoft.com>
This commit is contained in:
parent
742d8de018
commit
eecfc57130
@ -592,7 +592,7 @@ static int __update_cache_entry(const char *path,
|
||||
|
||||
kfree(th);
|
||||
|
||||
return 0;
|
||||
return rc;
|
||||
}
|
||||
|
||||
static int get_dfs_referral(const unsigned int xid, struct cifs_ses *ses,
|
||||
|
Loading…
Reference in New Issue
Block a user