projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
274052e
)
aio: check return value of create_workqueue()
author
Namhyung Kim
<namhyung@gmail.com>
Mon, 13 Dec 2010 15:06:25 +0000
(
00:06
+0900)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Mon, 17 Jan 2011 10:12:44 +0000
(
05:12
-0500)
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/aio.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/aio.c
b/fs/aio.c
index 5e00f15c54aa24e01c30759b446326c2d89b6ede..fc557a3be0a9af055a9a9505d3c161a77a7f2129 100644
(file)
--- 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(!a
io_wq || !a
be_pool);
pr_debug("aio_setup: sizeof(struct page) = %d\n", (int)sizeof(struct page));