diff options
author | rwatson <rwatson@FreeBSD.org> | 2007-07-11 21:32:08 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2007-07-11 21:32:08 +0000 |
commit | 4f942d92aa035ca844a5c3963c110132a8b82226 (patch) | |
tree | ce2366253733b52e5002cf7e4e685bb4b5a3dcbb /sys/fs/coda/coda.h | |
parent | c2081368d230e2160f4ab899eadf89a0201e6bbb (diff) | |
download | FreeBSD-src-4f942d92aa035ca844a5c3963c110132a8b82226.zip FreeBSD-src-4f942d92aa035ca844a5c3963c110132a8b82226.tar.gz |
Replace CODA_OPEN with CODA_OPEN_BY_FD: coda_open was disabled because
we can't open container files by device/inode number pair anymore.
Replace the CODA_OPEN upcall with CODA_OPEN_BY_FD, where venus returns
an open file descriptor for the container file. We can then grab a
reference on the vnode coda_psdev.c:vc_nb_write and use this vnode for
further accesses to the container file.
Submitted by: Jan Harkes <jaharkes@cs.cmu.edu>
Approved by: re (kensmith)
Diffstat (limited to 'sys/fs/coda/coda.h')
-rw-r--r-- | sys/fs/coda/coda.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/coda/coda.h b/sys/fs/coda/coda.h index 7cc6277..93547a4 100644 --- a/sys/fs/coda/coda.h +++ b/sys/fs/coda/coda.h @@ -679,7 +679,7 @@ struct coda_open_by_fd_in { struct coda_open_by_fd_out { struct coda_out_hdr oh; int fd; - struct file *fh; + struct vnode *vp; }; /* coda_open_by_path: */ |