uio.uio_rw = UIO_WRITE;
uio.uio_td = td;
error = VOP_WRITE(vp, &uio, vnode_pager_putpages_ioflags(ap->a_sync),
error = VOP_WRITE(vp, &uio, vnode_pager_putpages_ioflags(ap->a_sync | VM_PAGER_PUT_SYNC),
cred);
if (error != 0) printf("aft putpages=%d\n", error);
crfree(cred);
if (error == 0 || !nfs_keep_dirty_on_error) {