| 2319 | } |
| 2320 | |
| 2321 | int |
| 2322 | vn_chown(struct file *fp, uid_t uid, gid_t gid, struct ucred *active_cred, |
| 2323 | struct thread *td) |
| 2324 | { |
| 2325 | struct vnode *vp; |
| 2326 | |
| 2327 | vp = fp->f_vnode; |
| 2328 | #ifdef AUDIT |
| 2329 | vn_lock(vp, LK_SHARED | LK_RETRY); |
| 2330 | AUDIT_ARG_VNODE1(vp); |
| 2331 | VOP_UNLOCK(vp); |
| 2332 | #endif |
| 2333 | return (setfown(td, active_cred, vp, uid, gid)); |
| 2334 | } |
| 2335 | |
| 2336 | void |
| 2337 | vn_pages_remove(struct vnode *vp, vm_pindex_t start, vm_pindex_t end) |
no test coverage detected