Remove in toto coda_strategy which incorrectly implemented vop_panic();

This commit is contained in:
Poul-Henning Kamp 2003-06-15 18:45:15 +00:00
parent 25e43d5c74
commit e5fb1850ae
2 changed files with 0 additions and 46 deletions

View File

@ -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;

View File

@ -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;