Re: [PATCH] LIB: remove unmatched write_lock() in gen_pool_destroy

From: Steve Wise
Date: Mon Jun 15 2009 - 18:29:43 EST


Andrew Morton wrote:
On Mon, 15 Jun 2009 23:35:31 +0200 (CEST)
Jiri Kosina <trivial@xxxxxxxxxx> wrote:

- write_lock(&pool->lock);
list_for_each_safe(_chunk, _next_chunk, &pool->chunks) {
chunk = list_entry(_chunk, struct gen_pool_chunk, next_chunk);
list_del(&chunk->next_chunk);
--
1.5.6.5

Hi Zygo,

this doesn't really qualify for trivial tree, as it introduces a significant code change. Adding some CCs.

yep, I merged it, thanks.

I wonder why drivers/infiniband/hw/cxgb3 users never noticed this.

I seem to remember trying to get this removed a few years ago and the owner didn't want it removed...


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