summaryrefslogtreecommitdiffstats
path: root/sys/fs/coda/cnode.h
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2007-07-11 21:32:08 +0000
committerrwatson <rwatson@FreeBSD.org>2007-07-11 21:32:08 +0000
commit4f942d92aa035ca844a5c3963c110132a8b82226 (patch)
treece2366253733b52e5002cf7e4e685bb4b5a3dcbb /sys/fs/coda/cnode.h
parentc2081368d230e2160f4ab899eadf89a0201e6bbb (diff)
downloadFreeBSD-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/cnode.h')
-rw-r--r--sys/fs/coda/cnode.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/fs/coda/cnode.h b/sys/fs/coda/cnode.h
index 0504c74..bf77288 100644
--- a/sys/fs/coda/cnode.h
+++ b/sys/fs/coda/cnode.h
@@ -107,8 +107,6 @@ struct cnode {
struct vattr c_vattr; /* attributes */
char *c_symlink; /* pointer to symbolic link */
u_short c_symlen; /* length of symbolic link */
- struct cdev *c_device; /* associated vnode device */
- ino_t c_inode; /* associated vnode inode */
struct cnode *c_next; /* links if on NetBSD machine */
};
#define VTOC(vp) ((struct cnode *)(vp)->v_data)
OpenPOWER on IntegriCloud