$NetBSD: patch-ao,v 1.1.1.1 2005/05/04 08:56:50 agc Exp $ Index: drive/nasd_dirty.c =================================================================== RCS file: /usr/cvsroot/nasd/nasd-1.3/drive/nasd_dirty.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- drive/nasd_dirty.c 21 Mar 2005 08:52:02 -0000 1.1.1.1 +++ drive/nasd_dirty.c 21 Mar 2005 17:07:23 -0000 1.2 @@ -302,7 +302,7 @@ nasd_odc_dirty_cleaned_done(); } if (ent->dirty_flags&NASD_CR_DIRTY_Q) { - NASD_ODC_Q_DEQ_NOLOCK(ent,d); + NASD_ODC_Q_DEQ_NOLOCK(ent,dnext,dprev); } ent->dirty_flags &= ~(NASD_CR_DIRTY|NASD_CR_DIRTY_Q);; @@ -625,7 +625,7 @@ next = ent->dnext; if ((ent != node_ent) && (ent->node_ent != node_ent)) continue; - NASD_ODC_Q_DEQ_NOLOCK(ent,d); + NASD_ODC_Q_DEQ_NOLOCK(ent,dnext,dprev); nasd_odc_dirty_cur_global_flush->refcnt++; nasd_odc_dirty_cur_global_flush->counter++; ent->dt_flushcp = nasd_odc_dirty_cur_global_flush;