aboutsummaryrefslogtreecommitdiff
path: root/sys/coda/cnode.h
diff options
context:
space:
mode:
authorTim J. Robbins <tjr@FreeBSD.org>2003-09-07 07:43:10 +0000
committerTim J. Robbins <tjr@FreeBSD.org>2003-09-07 07:43:10 +0000
commitd14e51c95cc7e17ff201a53f932e1bbb61f023de (patch)
treec3cf2ae6864b0278a40f0dfa5991f2f8900c75eb /sys/coda/cnode.h
parent763d340b434660533137d5d6894748388736a72e (diff)
downloadsrc-d14e51c95cc7e17ff201a53f932e1bbb61f023de.tar.gz
src-d14e51c95cc7e17ff201a53f932e1bbb61f023de.zip
Add support for the Coda 6.x venus<->kernel interface. This extends
FIDs to be 128-bits wide and adds support for realms. Add a new CODA_COMPAT_5 option, which requests support for the old Coda 5.x interface instead of the new one. Create a new coda5.ko module that supports the 5.x interface, and make the existing coda.ko module use the new 6.x interface. These modules cannot both be loaded at the same time. Obtained from: Jan Harkes & the coda-6.0.2 distribution, NetBSD (drochner) (CODA_COMPAT_5 option).
Notes
Notes: svn path=/head/; revision=119832
Diffstat (limited to 'sys/coda/cnode.h')
-rw-r--r--sys/coda/cnode.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/coda/cnode.h b/sys/coda/cnode.h
index 450adc3256ab..540831c719b0 100644
--- a/sys/coda/cnode.h
+++ b/sys/coda/cnode.h
@@ -101,7 +101,7 @@ do { \
struct cnode {
struct vnode *c_vnode;
u_short c_flags; /* flags (see below) */
- ViceFid c_fid; /* file handle */
+ CodaFid c_fid; /* file handle */
struct lock c_lock; /* new lock protocol */
struct vnode *c_ovp; /* open vnode pointer */
u_short c_ocount; /* count of openers */
@@ -197,7 +197,7 @@ extern void coda_unmounting(struct mount *whoIam);
extern int coda_vmflush(struct cnode *cp);
/* cfs_vnodeops.h */
-extern struct cnode *make_coda_node(ViceFid *fid, struct mount *vfsp, short type);
+extern struct cnode *make_coda_node(CodaFid *fid, struct mount *vfsp, short type);
extern int coda_vnodeopstats_init(void);
/* coda_vfsops.h */