diff options
author | rwatson <rwatson@FreeBSD.org> | 2010-04-05 20:12:54 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2010-04-05 20:12:54 +0000 |
commit | 877d8ac3262677f82adedc171454bdcd90750020 (patch) | |
tree | 18ed6a08dc3fb0b1591c2a35a6d3da637afd23b1 /sys/fs/coda/coda_subr.h | |
parent | 1a37d38c69954bf75f33e74c84fa092b9469f17a (diff) | |
download | FreeBSD-src-877d8ac3262677f82adedc171454bdcd90750020.zip FreeBSD-src-877d8ac3262677f82adedc171454bdcd90750020.tar.gz |
Synchronize Coda kernel module definitions in our coda.h to Coda 6's
coda.h:
- CodaFid typdef -> struct CodaFid throughout.
- Use unsigned int instead of unsigned long for venus_dirent and other
cosmetic fixes.
- Introduce cuid_t and cgid_t and use instead of uid_t and gid_t in RPCs.
- Synchronize comments and macros.
- Use u_int32_t instead of unsigned long for coda_out_hdr.
With these changes, a 64-bit Coda kernel module now works with
coda6_client, whereas previous userspace and kernel versions of RPCs
differed sufficiently to prevent using the file system. This has been
verified only with casual testing, but /coda is now usable for at least
basic operations on amd64.
MFC after: 1 week
Diffstat (limited to 'sys/fs/coda/coda_subr.h')
-rw-r--r-- | sys/fs/coda/coda_subr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/coda/coda_subr.h b/sys/fs/coda/coda_subr.h index 0efc081..b8edfd3 100644 --- a/sys/fs/coda/coda_subr.h +++ b/sys/fs/coda/coda_subr.h @@ -35,7 +35,7 @@ struct cnode *coda_alloc(void); void coda_free(struct cnode *cp); -struct cnode *coda_find(CodaFid *fid); +struct cnode *coda_find(struct CodaFid *fid); void coda_flush(struct coda_mntinfo *mnt, enum dc_status dcstat); void coda_testflush(void); void coda_checkunmounting(struct mount *mp); |