projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
742d8de
)
cifs: Fix return value in __update_cache_entry
author
YueHaibing
<yuehaibing@huawei.com>
Fri, 17 Jan 2020 02:21:56 +0000
(10:21 +0800)
committer
Steve French
<stfrench@microsoft.com>
Mon, 27 Jan 2020 01:24:16 +0000
(19:24 -0600)
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
patch
|
blob
|
history
diff --git
a/fs/cifs/dfs_cache.c
b/fs/cifs/dfs_cache.c
index 76ffe12d64f51bfcf04073cdb80f49d90dbf600f..2bbfe283fb52d214f504c6ae80e2c6cf20e25936 100644
(file)
--- a/
fs/cifs/dfs_cache.c
+++ b/
fs/cifs/dfs_cache.c
@@
-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,