if (VOP_ISLOCKED(vp)) VOP_UNLOCK(vp, 0, p);
rf_close_component(RF_Raid_t *raidPtr, struct vnode *vp, int auto_configured){	struct proc *p;	if ((p = raidPtr->engine_thread) == NULL)		p = curproc;	if (vp != NULL) {		if (auto_configured == 1) {			VOP_CLOSE(vp, FREAD | FWRITE, NOCRED, p);			vrele(vp);		} else {			if (VOP_ISLOCKED(vp))				VOP_UNLOCK(vp, 0, p);			(void) vn_close(vp, FREAD | FWRITE, p->p_ucred, p);		}	} else {		printf("vnode was NULL\n");	}}