ext4: testing the wrong variable in ext4_init_pageio()
Subsystems (2)
PATCH 1/1 ext4: testing the wrong variable in ext4_init_pageio()
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 <[email protected]>
fs/ext4/page-io.c +1 -1
@@ -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 ; }
Ted Ts'o
maintainerQuoted 4 lines · Dan Carpenter
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 <[email protected]>
Thanks, added to the ext4 patch queue.
- Ted