- VOP_UNLOCK(vp);
- error = sosend(wso, (struct mbuf *)0, uio, 0, (struct mbuf *)0, 0);
- VOP_LOCK(vp);
- if (ioflag & IO_NDELAY)
+ VOP_UNLOCK(ap->a_vp);
+ error = sosend(wso, (struct mbuf *)0, ap->a_uio, 0, (struct mbuf *)0, 0);
+ VOP_LOCK(ap->a_vp);
+ if (ap->a_ioflag & IO_NDELAY)