summaryrefslogtreecommitdiffstats
path: root/sys/fs/fdescfs
diff options
context:
space:
mode:
authormjg <mjg@FreeBSD.org>2015-06-16 13:09:18 +0000
committermjg <mjg@FreeBSD.org>2015-06-16 13:09:18 +0000
commit1a3e7a935ea43cdf9b106244b3742c7babf5083b (patch)
tree15e657e125a980a05b63ad49c2f534d1a717de10 /sys/fs/fdescfs
parent6ea7eb1bceba958493920719e4cd9697af18670f (diff)
downloadFreeBSD-src-1a3e7a935ea43cdf9b106244b3742c7babf5083b.zip
FreeBSD-src-1a3e7a935ea43cdf9b106244b3742c7babf5083b.tar.gz
Replace struct filedesc argument in getvnode with struct thread
This is is a step towards removal of spurious arguments.
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 9c98832..15f3bd4 100644
--- a/sys/fs/fdescfs/fdesc_vnops.c
+++ b/sys/fs/fdescfs/fdesc_vnops.c
@@ -482,7 +482,7 @@ fdesc_setattr(ap)
/*
* Allow setattr where there is an underlying vnode.
*/
- error = getvnode(td->td_proc->p_fd, fd,
+ error = getvnode(td, fd,
cap_rights_init(&rights, CAP_EXTATTR_SET), &fp);
if (error) {
/*
OpenPOWER on IntegriCloud