projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f605b3
)
ext4: test the correct variable in ext4_init_pageio()
author
Dan Carpenter
<error27@gmail.com>
Mon, 10 Jan 2011 17:10:44 +0000
(12:10 -0500)
committer
Theodore Ts'o
<tytso@mit.edu>
Mon, 10 Jan 2011 17:10:44 +0000
(12:10 -0500)
This is a copy and paste error. The intent was to check
"io_page_cachep". We tested "io_page_cachep" earlier.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/page-io.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ext4/page-io.c
b/fs/ext4/page-io.c
index 0f5dfe0e83e77b257c5c91ec478cdeabe3da32a4..7270dcfca92a028d86f7e1cd6ca6bfe0e9d167ec 100644
(file)
--- a/
fs/ext4/page-io.c
+++ b/
fs/ext4/page-io.c
@@
-44,7
+44,7
@@
int __init ext4_init_pageio(void)
if (io_page_cachep == NULL)
return -ENOMEM;
io_end_cachep = KMEM_CACHE(ext4_io_end, SLAB_RECLAIM_ACCOUNT);
- if (io_
page
_cachep == NULL) {
+ if (io_
end
_cachep == NULL) {
kmem_cache_destroy(io_page_cachep);
return -ENOMEM;
}