aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2020-08-06 04:19:47 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2020-08-06 04:19:47 +0000
commit95888901f7489d3ca43398d3bc12ba1ddb5064c8 (patch)
tree4625a33803b4f97861f36ff1c696719857444cd8
parent4ec34a908bb2caf1967fd6e26e152e0bf2e4534e (diff)
downloadsrc-95888901f7489d3ca43398d3bc12ba1ddb5064c8.tar.gz
src-95888901f7489d3ca43398d3bc12ba1ddb5064c8.zip
cache: plug unititalized variable use
CID: 1431128
Notes
Notes: svn path=/head/; revision=363938
-rw-r--r--sys/kern/vfs_cache.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/vfs_cache.c b/sys/kern/vfs_cache.c
index 25d10c824ced..0107a4e062e8 100644
--- a/sys/kern/vfs_cache.c
+++ b/sys/kern/vfs_cache.c
@@ -3456,8 +3456,7 @@ cache_fplookup_final_withparent(struct cache_fpl *fpl)
vput(dvp);
else
vrele(dvp);
- cache_fpl_aborted(fpl);
- return (error);
+ return (cache_fpl_aborted(fpl));
}
error = cache_fplookup_final_child(fpl, tvs);