aboutsummaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2020-09-08 16:06:46 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2020-09-08 16:06:46 +0000
commitda62ed4f1a77694e707385b2f84b9a356fd18978 (patch)
tree6c11c6fe3420df01718b4874330861f5f530da42 /sys/kern
parent2bcfa5ba6ff987425addb168a7db29090ced3f2d (diff)
downloadsrc-da62ed4f1a77694e707385b2f84b9a356fd18978.tar.gz
src-da62ed4f1a77694e707385b2f84b9a356fd18978.zip
Notes
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/vfs_cache.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/kern/vfs_cache.c b/sys/kern/vfs_cache.c
index 7cc91e319057..ca3171c247dc 100644
--- a/sys/kern/vfs_cache.c
+++ b/sys/kern/vfs_cache.c
@@ -3714,14 +3714,13 @@ cache_fplookup_final_withparent(struct cache_fpl *fpl)
struct componentname *cnp;
enum vgetstate dvs, tvs;
struct vnode *dvp, *tvp;
- seqc_t dvp_seqc, tvp_seqc;
+ seqc_t dvp_seqc;
int error;
cnp = fpl->cnp;
dvp = fpl->dvp;
dvp_seqc = fpl->dvp_seqc;
tvp = fpl->tvp;
- tvp_seqc = fpl->tvp_seqc;
MPASS((cnp->cn_flags & (LOCKPARENT|WANTPARENT)) != 0);
@@ -3780,13 +3779,12 @@ cache_fplookup_final(struct cache_fpl *fpl)
struct componentname *cnp;
enum vgetstate tvs;
struct vnode *dvp, *tvp;
- seqc_t dvp_seqc, tvp_seqc;
+ seqc_t dvp_seqc;
cnp = fpl->cnp;
dvp = fpl->dvp;
dvp_seqc = fpl->dvp_seqc;
tvp = fpl->tvp;
- tvp_seqc = fpl->tvp_seqc;
VNPASS(cache_fplookup_vnode_supported(dvp), dvp);