X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Faio.c;h=fc557a3be0a9af055a9a9505d3c161a77a7f2129;hb=007a14af2649c9ac77f38cd23469518ffb8b355a;hp=5e00f15c54aa24e01c30759b446326c2d89b6ede;hpb=42a9fa9957e369240936891c9a521ab671eed4e7;p=pandora-kernel.git diff --git a/fs/aio.c b/fs/aio.c index 5e00f15c54aa..fc557a3be0a9 100644 --- a/fs/aio.c +++ b/fs/aio.c @@ -87,7 +87,7 @@ static int __init aio_setup(void) aio_wq = create_workqueue("aio"); abe_pool = mempool_create_kmalloc_pool(1, sizeof(struct aio_batch_entry)); - BUG_ON(!abe_pool); + BUG_ON(!aio_wq || !abe_pool); pr_debug("aio_setup: sizeof(struct page) = %d\n", (int)sizeof(struct page));