aboutsummaryrefslogtreecommitdiff
path: root/sys/fs/fdescfs
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/fs/fdescfs
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/fs/fdescfs')
-rw-r--r--sys/fs/fdescfs/fdesc_vnops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/fdescfs/fdesc_vnops.c b/sys/fs/fdescfs/fdesc_vnops.c
index 87fcb7160bbb..f6f08caa4eba 100644
--- a/sys/fs/fdescfs/fdesc_vnops.c
+++ b/sys/fs/fdescfs/fdesc_vnops.c
@@ -640,7 +640,7 @@ fdesc_readlink(struct vop_readlink_args *va)
switch (fp->f_type) {
case DTYPE_VNODE:
vp = fp->f_vnode;
- error = vn_fullpath(td, vp, &fullpath, &freepath);
+ error = vn_fullpath(vp, &fullpath, &freepath);
break;
default:
fullpath = "anon_inode:[unknown]";