]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: Fix return value in __update_cache_entry
authorYueHaibing <yuehaibing@huawei.com>
Fri, 17 Jan 2020 02:21:56 +0000 (10:21 +0800)
committerSteve French <stfrench@microsoft.com>
Mon, 27 Jan 2020 01:24:16 +0000 (19:24 -0600)
commita0bc1f3599700bf2279906a9410bc108abbab194
treeac554417a9f980972a00d07a073e4185274f8062
parent859fa892da0cbd1d169f8fd7e3cd615245220118
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>
fs/cifs/dfs_cache.c