vfs: remove the never set VDESC_VPP_WILLRELE flag
This commit is contained in:
parent
bb9c7e2658
commit
10a15df653
@ -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);
|
||||
}
|
||||
|
||||
|
@ -463,7 +463,6 @@ extern struct vattr va_null; /* predefined null vattr structure */
|
||||
#define VDESC_VP1_WILLRELE 0x0002
|
||||
#define VDESC_VP2_WILLRELE 0x0004
|
||||
#define VDESC_VP3_WILLRELE 0x0008
|
||||
#define VDESC_VPP_WILLRELE 0x0200
|
||||
|
||||
/*
|
||||
* A generic structure.
|
||||
|
Loading…
Reference in New Issue
Block a user