| 2939 | } |
| 2940 | |
| 2941 | void |
| 2942 | finit_vnode(struct file *fp, u_int flag, void *data, struct fileops *ops) |
| 2943 | { |
| 2944 | fp->f_seqcount[UIO_READ] = 1; |
| 2945 | fp->f_seqcount[UIO_WRITE] = 1; |
| 2946 | finit(fp, (flag & FMASK) | (fp->f_flag & FHASLOCK), DTYPE_VNODE, |
| 2947 | data, ops); |
| 2948 | } |
| 2949 | |
| 2950 | int |
| 2951 | fget_cap_locked(struct filedesc *fdp, int fd, cap_rights_t *needrightsp, |
no test coverage detected