Re: [PATCH] Use hlist_entry() for io_context.cic_list.first

From: Jens Axboe
Date: Thu Jun 02 2011 - 07:05:44 EST


On 2011-06-01 21:33, Paul Bolle wrote:
> list_entry() and hlist_entry() are both simply aliases for
> container_of(), but since io_context.cic_list.first is an hlist_node one
> should at least use the correct alias.

Thanks, that does look cleaner.

--
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/