View | Details | Raw Unified | Return to bug 51583 | Differences between
and this patch

Collapse All | Expand All

(-)null_subr.c (+4 lines)
Lines 177-182 null_node_alloc(mp, lowervp, vpp) Link Here
177
	vp = *vpp;
177
	vp = *vpp;
178
178
179
	vp->v_type = lowervp->v_type;
179
	vp->v_type = lowervp->v_type;
180
	if (vp->v_type == VCHR || vp->v_type == VBLK)
181
		addalias(vp, lowervp->v_un.vu_spec.vu_specinfo);
182
	else
183
		vp->v_un = lowervp->v_un;
180
	lockinit(&xp->null_lock, PINOD, "nullnode", 0, LK_CANRECURSE);
184
	lockinit(&xp->null_lock, PINOD, "nullnode", 0, LK_CANRECURSE);
181
	xp->null_vnode = vp;
185
	xp->null_vnode = vp;
182
	vp->v_data = xp;
186
	vp->v_data = xp;

Return to bug 51583