diff options
Diffstat (limited to 'sys/sys/file.h')
-rw-r--r-- | sys/sys/file.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/file.h b/sys/sys/file.h index 7c69ee2ae98e..cbf61d0a3dcb 100644 --- a/sys/sys/file.h +++ b/sys/sys/file.h @@ -52,6 +52,7 @@ struct thread; struct uio; struct knote; struct vnode; +struct nameidata; #endif /* _KERNEL */ @@ -279,6 +280,7 @@ int fgetvp_read(struct thread *td, int fd, cap_rights_t *rightsp, struct vnode **vpp); int fgetvp_write(struct thread *td, int fd, cap_rights_t *rightsp, struct vnode **vpp); +int fgetvp_lookup_smr(int fd, struct nameidata *ndp, struct vnode **vpp, bool *fsearch); static __inline __result_use_check bool fhold(struct file *fp) |