Date: Fri, 19 Nov 2021 04:36:48 GMT From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 43215144c041 - stable/13 - g_vfs_close(): vp is unused Message-ID: <202111190436.1AJ4amTr034465@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=43215144c041b8f8502c268c72c3041b44e05540 commit 43215144c041b8f8502c268c72c3041b44e05540 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2021-11-18 03:02:59 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2021-11-19 04:25:29 +0000 g_vfs_close(): vp is unused (cherry picked from commit 4fdc5b8494b46007549b1932c64e11cf634599a1) --- sys/geom/geom_vfs.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/geom/geom_vfs.c b/sys/geom/geom_vfs.c index ab9d4a001c76..f01765b8ee30 100644 --- a/sys/geom/geom_vfs.c +++ b/sys/geom/geom_vfs.c @@ -286,13 +286,11 @@ g_vfs_close(struct g_consumer *cp) { struct g_geom *gp; struct g_vfs_softc *sc; - struct vnode *vp; g_topology_assert(); gp = cp->geom; sc = gp->softc; - vp = cp->private; bufobj_invalbuf(sc->sc_bo, V_SAVE, 0, 0); sc->sc_bo->bo_private = cp->private; gp->softc = NULL;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202111190436.1AJ4amTr034465>