Date: Tue, 8 Sep 2020 16:06:46 +0000 (UTC) From: Mateusz Guzik <mjg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r365463 - head/sys/kern Message-ID: <202009081606.088G6kBJ087696@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mjg Date: Tue Sep 8 16:06:46 2020 New Revision: 365463 URL: https://svnweb.freebsd.org/changeset/base/365463 Log: cache: drop write-only tvp_seqc vars Modified: head/sys/kern/vfs_cache.c Modified: head/sys/kern/vfs_cache.c ============================================================================== --- head/sys/kern/vfs_cache.c Tue Sep 8 16:06:26 2020 (r365462) +++ head/sys/kern/vfs_cache.c Tue Sep 8 16:06:46 2020 (r365463) @@ -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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009081606.088G6kBJ087696>