aboutsummaryrefslogtreecommitdiff
path: root/sys/coda
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2005-03-15 12:39:30 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2005-03-15 12:39:30 +0000
commit7649bbb0b0818f84ed89a6b4945132a5e9ebcf54 (patch)
treeeb1cf75d4566e274fee2e2163c01b8b94dc7c404 /sys/coda
parent7a94b58748305b395ba0cd08435b79349c4424c5 (diff)
downloadsrc-7649bbb0b0818f84ed89a6b4945132a5e9ebcf54.tar.gz
src-7649bbb0b0818f84ed89a6b4945132a5e9ebcf54.zip
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.
Notes
Notes: svn path=/head/; revision=143637
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 5982367625e4..56d627b39292 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