> >  static __inline__ void list_del(struct list_head *entry)
> >  {
> >  	__list_del(entry->prev, entry->next);
> > +	/*
> > +	 * This is debug.  Remove it when the kernel has no bugs ;)
> > +	 */
> > +	entry->next = 0;
> > +	entry->prev = 0;
> >  }
>
> We've had this before, and it breaks some code that removes items from
> lists as follows,
Such code is probably not SMP safe anyway.
regards,
Rik
-- Bravely reimplemented by the knights who say "NIH".http://www.surriel.com/ http://distro.conectiva.com/
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/