aboutsummaryrefslogtreecommitdiff
path: root/sys/coda/coda_fbsd.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2003-07-26 07:32:23 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2003-07-26 07:32:23 +0000
commita8d43c90af5122ecff75b55fbaf6d5806674411b (patch)
tree4b10a3edcceb3eb7cae2e63c46cb2b1d26c145bf /sys/coda/coda_fbsd.c
parentdc539f3ee0827824a73fd840fac8e55977455984 (diff)
downloadsrc-a8d43c90af5122ecff75b55fbaf6d5806674411b.tar.gz
src-a8d43c90af5122ecff75b55fbaf6d5806674411b.zip
Add a "int fd" argument to VOP_OPEN() which in the future will
contain the filedescriptor number on opens from userland. The index is used rather than a "struct file *" since it conveys a bit more information, which may be useful to in particular fdescfs and /dev/fd/* For now pass -1 all over the place.
Notes
Notes: svn path=/head/; revision=118047
Diffstat (limited to 'sys/coda/coda_fbsd.c')
-rw-r--r--sys/coda/coda_fbsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/coda/coda_fbsd.c b/sys/coda/coda_fbsd.c
index ac52818ecf40..1c061b1ae6ef 100644
--- a/sys/coda/coda_fbsd.c
+++ b/sys/coda/coda_fbsd.c
@@ -127,7 +127,7 @@ coda_fbsd_getpages(v)
if (cfvp == NULL) {
opened_internally = 1;
- error = VOP_OPEN(vp, FREAD, cred, p);
+ error = VOP_OPEN(vp, FREAD, cred, p, -1);
printf("coda_getp: Internally Opening %p\n", vp);
if (error) {