Date: Sun, 2 Feb 2020 09:35:49 +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: r357403 - in head/sys: fs/nullfs sys Message-ID: <202002020935.0129ZnXD022858@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mjg Date: Sun Feb 2 09:35:48 2020 New Revision: 357403 URL: https://svnweb.freebsd.org/changeset/base/357403 Log: vfs: remove the never set VDESC_VPP_WILLRELE flag Modified: head/sys/fs/nullfs/null_vnops.c head/sys/sys/vnode.h Modified: head/sys/fs/nullfs/null_vnops.c ============================================================================== --- head/sys/fs/nullfs/null_vnops.c Sun Feb 2 08:46:29 2020 (r357402) +++ head/sys/fs/nullfs/null_vnops.c Sun Feb 2 09:35:48 2020 (r357403) @@ -317,15 +317,12 @@ null_bypass(struct vop_generic_args *ap) * We must avoid these ops. * (This should go away when these ops are regularized.) */ - if (descp->vdesc_flags & VDESC_VPP_WILLRELE) - goto out; vppp = VOPARG_OFFSETTO(struct vnode***, descp->vdesc_vpp_offset,ap); if (*vppp) error = null_nodeget(old_vps[0]->v_mount, **vppp, *vppp); } - out: return (error); } Modified: head/sys/sys/vnode.h ============================================================================== --- head/sys/sys/vnode.h Sun Feb 2 08:46:29 2020 (r357402) +++ head/sys/sys/vnode.h Sun Feb 2 09:35:48 2020 (r357403) @@ -463,7 +463,6 @@ extern struct vattr va_null; /* predefined null vattr #define VDESC_VP1_WILLRELE 0x0002 #define VDESC_VP2_WILLRELE 0x0004 #define VDESC_VP3_WILLRELE 0x0008 -#define VDESC_VPP_WILLRELE 0x0200 /* * A generic structure.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002020935.0129ZnXD022858>