F_WAIT
error = VOP_ADVLOCK(vp, (caddr_t)fp, F_SETLK, &lf, F_FLOCK|F_WAIT);
flg |= F_WAIT;
if ((lock->lf_flags & F_WAIT) == 0) {
type |= F_WAIT;