diff options
-rw-r--r-- | fs/jbd2/journal.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/jbd2/journal.c b/fs/jbd2/journal.c index aa8f5986f8da..47e341100c2c 100644 --- a/fs/jbd2/journal.c +++ b/fs/jbd2/journal.c | |||
@@ -2017,7 +2017,7 @@ static struct kmem_cache *jbd2_journal_head_cache; | |||
2017 | static atomic_t nr_journal_heads = ATOMIC_INIT(0); | 2017 | static atomic_t nr_journal_heads = ATOMIC_INIT(0); |
2018 | #endif | 2018 | #endif |
2019 | 2019 | ||
2020 | static int journal_init_jbd2_journal_head_cache(void) | 2020 | static int jbd2_journal_init_journal_head_cache(void) |
2021 | { | 2021 | { |
2022 | int retval; | 2022 | int retval; |
2023 | 2023 | ||
@@ -2035,7 +2035,7 @@ static int journal_init_jbd2_journal_head_cache(void) | |||
2035 | return retval; | 2035 | return retval; |
2036 | } | 2036 | } |
2037 | 2037 | ||
2038 | static void jbd2_journal_destroy_jbd2_journal_head_cache(void) | 2038 | static void jbd2_journal_destroy_journal_head_cache(void) |
2039 | { | 2039 | { |
2040 | if (jbd2_journal_head_cache) { | 2040 | if (jbd2_journal_head_cache) { |
2041 | kmem_cache_destroy(jbd2_journal_head_cache); | 2041 | kmem_cache_destroy(jbd2_journal_head_cache); |
@@ -2323,7 +2323,7 @@ static void __exit jbd2_remove_jbd_stats_proc_entry(void) | |||
2323 | 2323 | ||
2324 | struct kmem_cache *jbd2_handle_cache, *jbd2_inode_cache; | 2324 | struct kmem_cache *jbd2_handle_cache, *jbd2_inode_cache; |
2325 | 2325 | ||
2326 | static int __init journal_init_handle_cache(void) | 2326 | static int __init jbd2_journal_init_handle_cache(void) |
2327 | { | 2327 | { |
2328 | jbd2_handle_cache = KMEM_CACHE(jbd2_journal_handle, SLAB_TEMPORARY); | 2328 | jbd2_handle_cache = KMEM_CACHE(jbd2_journal_handle, SLAB_TEMPORARY); |
2329 | if (jbd2_handle_cache == NULL) { | 2329 | if (jbd2_handle_cache == NULL) { |
@@ -2358,9 +2358,9 @@ static int __init journal_init_caches(void) | |||
2358 | 2358 | ||
2359 | ret = jbd2_journal_init_revoke_caches(); | 2359 | ret = jbd2_journal_init_revoke_caches(); |
2360 | if (ret == 0) | 2360 | if (ret == 0) |
2361 | ret = journal_init_jbd2_journal_head_cache(); | 2361 | ret = jbd2_journal_init_journal_head_cache(); |
2362 | if (ret == 0) | 2362 | if (ret == 0) |
2363 | ret = journal_init_handle_cache(); | 2363 | ret = jbd2_journal_init_handle_cache(); |
2364 | if (ret == 0) | 2364 | if (ret == 0) |
2365 | ret = jbd2_journal_init_transaction_cache(); | 2365 | ret = jbd2_journal_init_transaction_cache(); |
2366 | return ret; | 2366 | return ret; |
@@ -2369,7 +2369,7 @@ static int __init journal_init_caches(void) | |||
2369 | static void jbd2_journal_destroy_caches(void) | 2369 | static void jbd2_journal_destroy_caches(void) |
2370 | { | 2370 | { |
2371 | jbd2_journal_destroy_revoke_caches(); | 2371 | jbd2_journal_destroy_revoke_caches(); |
2372 | jbd2_journal_destroy_jbd2_journal_head_cache(); | 2372 | jbd2_journal_destroy_journal_head_cache(); |
2373 | jbd2_journal_destroy_handle_cache(); | 2373 | jbd2_journal_destroy_handle_cache(); |
2374 | jbd2_journal_destroy_transaction_cache(); | 2374 | jbd2_journal_destroy_transaction_cache(); |
2375 | jbd2_journal_destroy_slabs(); | 2375 | jbd2_journal_destroy_slabs(); |