vfs: remove the never set VDESC_VPP_WILLRELE flag

This commit is contained in:
Mateusz Guzik 2020-02-02 09:35:48 +00:00
parent bb9c7e2658
commit 10a15df653
2 changed files with 0 additions and 4 deletions

View File

@ -317,15 +317,12 @@ null_bypass(struct vop_generic_args *ap)
* We must avoid these ops. * We must avoid these ops.
* (This should go away when these ops are regularized.) * (This should go away when these ops are regularized.)
*/ */
if (descp->vdesc_flags & VDESC_VPP_WILLRELE)
goto out;
vppp = VOPARG_OFFSETTO(struct vnode***, vppp = VOPARG_OFFSETTO(struct vnode***,
descp->vdesc_vpp_offset,ap); descp->vdesc_vpp_offset,ap);
if (*vppp) if (*vppp)
error = null_nodeget(old_vps[0]->v_mount, **vppp, *vppp); error = null_nodeget(old_vps[0]->v_mount, **vppp, *vppp);
} }
out:
return (error); return (error);
} }

View File

@ -463,7 +463,6 @@ extern struct vattr va_null; /* predefined null vattr structure */
#define VDESC_VP1_WILLRELE 0x0002 #define VDESC_VP1_WILLRELE 0x0002
#define VDESC_VP2_WILLRELE 0x0004 #define VDESC_VP2_WILLRELE 0x0004
#define VDESC_VP3_WILLRELE 0x0008 #define VDESC_VP3_WILLRELE 0x0008
#define VDESC_VPP_WILLRELE 0x0200
/* /*
* A generic structure. * A generic structure.