From 2e4193de9068d3e136a57eedfd305802c72ecbd6 Mon Sep 17 00:00:00 2001 From: Namhyung Kim Date: Tue, 14 Dec 2010 00:06:25 +0900 Subject: [PATCH] --- yaml --- r: 231660 b: refs/heads/master c: 27eaa1c90c608aa907336c2743d5ecf35c469440 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/aio.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 2e1812b14b9a..419eefa486ab 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 274052ef0bac011249925f6616d147b1491fc601 +refs/heads/master: 27eaa1c90c608aa907336c2743d5ecf35c469440 diff --git a/trunk/fs/aio.c b/trunk/fs/aio.c index 5e00f15c54aa..fc557a3be0a9 100644 --- a/trunk/fs/aio.c +++ b/trunk/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));