aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/vnode.h
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2020-08-24 08:57:02 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2020-08-24 08:57:02 +0000
commitfeabaaf9956aa2e9bbe5e877ab1a1cf5eae476c0 (patch)
treebd921f5e24bf70480bee9fc4758998e3a74cfdc3 /sys/sys/vnode.h
parentf0696c5e4b536bed69c6aa8dcccf459153f817fc (diff)
downloadsrc-feabaaf9956aa2e9bbe5e877ab1a1cf5eae476c0.tar.gz
src-feabaaf9956aa2e9bbe5e877ab1a1cf5eae476c0.zip
cache: drop the always curthread argument from reverse lookup routines
Note VOP_VPTOCNP keeps getting it as temporary compatibility for zfs. Tested by: pho
Notes
Notes: svn path=/head/; revision=364633
Diffstat (limited to 'sys/sys/vnode.h')
-rw-r--r--sys/sys/vnode.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h
index 6a6cb3d7a69a..76b7a85ea9bc 100644
--- a/sys/sys/vnode.h
+++ b/sys/sys/vnode.h
@@ -660,11 +660,9 @@ u_quad_t init_va_filerev(void);
int speedup_syncer(void);
int vn_vptocnp(struct vnode **vp, struct ucred *cred, char *buf,
size_t *buflen);
-int vn_getcwd(struct thread *td, char *buf, char **retbuf, size_t *buflen);
-int vn_fullpath(struct thread *td, struct vnode *vn,
- char **retbuf, char **freebuf);
-int vn_fullpath_global(struct thread *td, struct vnode *vn,
- char **retbuf, char **freebuf);
+int vn_getcwd(char *buf, char **retbuf, size_t *buflen);
+int vn_fullpath(struct vnode *vp, char **retbuf, char **freebuf);
+int vn_fullpath_global(struct vnode *vp, char **retbuf, char **freebuf);
struct vnode *
vn_dir_dd_ino(struct vnode *vp);
int vn_commname(struct vnode *vn, char *buf, u_int buflen);