F_WAIT
error = VOP_ADVLOCK(vp, (caddr_t)fp, F_SETLK, &lf, F_WAIT);
flg |= F_WAIT;
if ((flags & F_WAIT) == 0) {
type = F_WAIT;