summaryrefslogtreecommitdiff
path: root/fs/cifs/dfs_cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cifs/dfs_cache.c')
-rw-r--r--fs/cifs/dfs_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/dfs_cache.c b/fs/cifs/dfs_cache.c
index 76ffe12d64f5..2bbfe283fb52 100644
--- 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,