summaryrefslogtreecommitdiffstats
path: root/sys/coda
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-06-15 18:45:15 +0000
committerphk <phk@FreeBSD.org>2003-06-15 18:45:15 +0000
commit9be0707ac8c67dcef1185ecaba5868f138f4e2ad (patch)
tree7d54b83d3219ae3628692bbf5379a0745cd445fa /sys/coda
parent27676a2c7068f75ec95a5b2a815852b1dfb0a9d1 (diff)
downloadFreeBSD-src-9be0707ac8c67dcef1185ecaba5868f138f4e2ad.zip
FreeBSD-src-9be0707ac8c67dcef1185ecaba5868f138f4e2ad.tar.gz
Remove in toto coda_strategy which incorrectly implemented vop_panic();
Diffstat (limited to 'sys/coda')
-rw-r--r--sys/coda/coda_vnops.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/sys/coda/coda_vnops.c b/sys/coda/coda_vnops.c
index a27f0b1..20ee42d 100644
--- a/sys/coda/coda_vnops.c
+++ b/sys/coda/coda_vnops.c
@@ -135,7 +135,6 @@ struct vnodeopv_entry_desc coda_vnodeop_entries[] = {
{ &vop_lock_desc, coda_lock }, /* lock */
{ &vop_unlock_desc, coda_unlock }, /* unlock */
{ &vop_bmap_desc, coda_bmap }, /* bmap */
- { &vop_strategy_desc, coda_strategy }, /* strategy */
{ &vop_print_desc, coda_vop_error }, /* print */
{ &vop_islocked_desc, coda_islocked }, /* islocked */
{ &vop_pathconf_desc, coda_pathconf }, /* pathconf */
@@ -1721,28 +1720,6 @@ coda_bmap(v)
}
}
-/*
- * I don't think the following two things are used anywhere, so I've
- * commented them out
- *
- * struct buf *async_bufhead;
- * int async_daemon_count;
- */
-int
-coda_strategy(v)
- void *v;
-{
-/* true args */
- struct vop_strategy_args *ap = v;
- register struct buf *bp __attribute__((unused)) = ap->a_bp;
- struct thread *td __attribute__((unused)) = curthread;
-/* upcall decl */
-/* locals */
-
- printf("coda_strategy: called ???\n");
- return(EOPNOTSUPP);
-}
-
int
coda_reclaim(v)
void *v;
OpenPOWER on IntegriCloud