summaryrefslogtreecommitdiffstats
path: root/sys/fs/coda/coda_subr.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2010-04-05 20:12:54 +0000
committerrwatson <rwatson@FreeBSD.org>2010-04-05 20:12:54 +0000
commit877d8ac3262677f82adedc171454bdcd90750020 (patch)
tree18ed6a08dc3fb0b1591c2a35a6d3da637afd23b1 /sys/fs/coda/coda_subr.c
parent1a37d38c69954bf75f33e74c84fa092b9469f17a (diff)
downloadFreeBSD-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.c')
-rw-r--r--sys/fs/coda/coda_subr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/coda/coda_subr.c b/sys/fs/coda/coda_subr.c
index e24950b..08c03cb 100644
--- a/sys/fs/coda/coda_subr.c
+++ b/sys/fs/coda/coda_subr.c
@@ -164,7 +164,7 @@ coda_unsave(struct cnode *cp)
* NOTE: this allows multiple cnodes with same fid -- dcs 1/25/95
*/
struct cnode *
-coda_find(CodaFid *fid)
+coda_find(struct CodaFid *fid)
{
struct cnode *cp;
OpenPOWER on IntegriCloud