Matthew Wilcox wrote:
On Mon, Aug 29, 2005 at 02:50:35PM -0400, Jeff Garzik wrote:
Every node is a list_head. You want all pointers for all nodes pointing
to something useful, even if they are not actively present on a list, so
that they may be easily and corrected added to a list at a later time.
Read list_del_init() for example.
I disagree. If you know what you're doing, it's perfectly fine to
simply list_del and not init the nodes.
True, but in the context of $thread its better to be safe than sorry.
Jeff
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html