From 4a565df5ed9d52c477a966e49c7844d322860cac Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Mon, 13 Feb 1995 06:12:32 +0000 Subject: [PATCH] strategy for block and char devices are rightfully spec_strategy. I feel like yanking all the "ISODEVMAP" stuff altogether, it looks like a bad kludge... --- sys/fs/cd9660/cd9660_vnops.c | 5 ++--- sys/isofs/cd9660/cd9660_vnops.c | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/sys/fs/cd9660/cd9660_vnops.c b/sys/fs/cd9660/cd9660_vnops.c index f26af46d2be8..cddfed079eb7 100644 --- a/sys/fs/cd9660/cd9660_vnops.c +++ b/sys/fs/cd9660/cd9660_vnops.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)cd9660_vnops.c 8.3 (Berkeley) 1/23/94 - * $Id: cd9660_vnops.c,v 1.10 1994/09/28 16:44:59 dfr Exp $ + * $Id: cd9660_vnops.c,v 1.11 1995/01/16 17:03:28 joerg Exp $ */ #include @@ -993,8 +993,7 @@ struct vnodeopv_entry_desc cd9660_specop_entries[] = { { &vop_lock_desc, cd9660_lock }, /* lock */ { &vop_unlock_desc, cd9660_unlock }, /* unlock */ { &vop_bmap_desc, spec_bmap }, /* bmap */ - /* XXX strategy: panics, should be notsupp instead? */ - { &vop_strategy_desc, cd9660_strategy },/* strategy */ + { &vop_strategy_desc, spec_strategy }, /* strategy */ { &vop_print_desc, cd9660_print }, /* print */ { &vop_islocked_desc, cd9660_islocked },/* islocked */ { &vop_pathconf_desc, spec_pathconf }, /* pathconf */ diff --git a/sys/isofs/cd9660/cd9660_vnops.c b/sys/isofs/cd9660/cd9660_vnops.c index f26af46d2be8..cddfed079eb7 100644 --- a/sys/isofs/cd9660/cd9660_vnops.c +++ b/sys/isofs/cd9660/cd9660_vnops.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)cd9660_vnops.c 8.3 (Berkeley) 1/23/94 - * $Id: cd9660_vnops.c,v 1.10 1994/09/28 16:44:59 dfr Exp $ + * $Id: cd9660_vnops.c,v 1.11 1995/01/16 17:03:28 joerg Exp $ */ #include @@ -993,8 +993,7 @@ struct vnodeopv_entry_desc cd9660_specop_entries[] = { { &vop_lock_desc, cd9660_lock }, /* lock */ { &vop_unlock_desc, cd9660_unlock }, /* unlock */ { &vop_bmap_desc, spec_bmap }, /* bmap */ - /* XXX strategy: panics, should be notsupp instead? */ - { &vop_strategy_desc, cd9660_strategy },/* strategy */ + { &vop_strategy_desc, spec_strategy }, /* strategy */ { &vop_print_desc, cd9660_print }, /* print */ { &vop_islocked_desc, cd9660_islocked },/* islocked */ { &vop_pathconf_desc, spec_pathconf }, /* pathconf */