FreeBSD/sys/fs/tmpfs/tmpfs_subr.c
/*
 * Need to clear v_object for insmntque failure.
 */
Need to clear v_object for insmntque failure.
Need to clear v_object for insmntque failure .
static void
tmpfs_insmntque_dtr(struct vnode *vp, void *dtr_arg)
{
	tmpfs_destroy_vobject(vp, vp->v_object);
	vp->v_object = NULL;
	vp->v_data = NULL;
	vp->v_op = &dead_vnodeops;
	vgone(vp);
	vput(vp);
}
static void tmpfs_insmntque_dtr ( struct vnode * vp , void * dtr_arg ) { tmpfs_destroy_vobject ( vp , vp -> v_object ) ; vp -> v_object = NULL ; vp -> v_data = NULL ; vp -> v_op = & dead_vnodeops ; vgone ( vp ) ; vput ( vp ) ; }
Need to clear v_object for insmntque failure.
Need to clear v_object for insmntque failure .