Re: [PATCH] hpsa: do not re-order commands in internal queues

From: Stephen Cameron
Date: Tue Jan 11 2011 - 17:59:10 EST




--- On Tue, 1/11/11, Stephen M. Cameron <scameron@xxxxxxxxxxxxxxxxxx> wrote:

[...]
> @@ -2837,8 +2837,8 @@ static void start_io(struct ctlr_info
> *h)
> {
>     struct CommandList *c;
>
> -    while (!hlist_empty(&h->reqQ))
> {
> -        c =
> hlist_entry(h->reqQ.first, struct CommandList, list);
> +    while (!list_empty(&h->reqQ)) {
> +        c =
> list_entry(h->reqQ.first, struct CommandList, list);


No, I screwed this up. Disregard this patch.

-- steve





--
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/