summaryrefslogtreecommitdiffstats
path: root/sys/coda
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2005-03-15 12:39:30 +0000
committerphk <phk@FreeBSD.org>2005-03-15 12:39:30 +0000
commit651dd9f4d4a917a7c02eeb49a53f99fce3295cba (patch)
treeeb1cf75d4566e274fee2e2163c01b8b94dc7c404 /sys/coda
parentaa4d5cb8032f5c428dd361668168a32700fc273d (diff)
downloadFreeBSD-src-651dd9f4d4a917a7c02eeb49a53f99fce3295cba.zip
FreeBSD-src-651dd9f4d4a917a7c02eeb49a53f99fce3295cba.tar.gz
Disable two users of findcdev. They do the wrong thing now and will
need to be fixed. In both cases the API should be reengineered to do something (more) sensible.
Diffstat (limited to 'sys/coda')
-rw-r--r--sys/coda/coda_venus.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/coda/coda_venus.c b/sys/coda/coda_venus.c
index 5982367..56d627b 100644
--- a/sys/coda/coda_venus.c
+++ b/sys/coda/coda_venus.c
@@ -200,6 +200,7 @@ venus_open(void *mdp, CodaFid *fid, int flag,
struct ucred *cred, struct proc *p,
/*out*/ struct cdev **dev, ino_t *inode)
{
+#if 0
int cflag;
DECL(coda_open); /* sets Isize & Osize */
ALLOC(coda_open); /* sets inp & outp */
@@ -218,6 +219,9 @@ venus_open(void *mdp, CodaFid *fid, int flag,
CODA_FREE(inp, coda_open_size);
return error;
+#else
+ return (EOPNOTSUPP);
+#endif
}
int
OpenPOWER on IntegriCloud