Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 296539
b: refs/heads/master
c: 4185a2a
h: refs/heads/master
i:
  296537: 06b8460
  296535: f1c3d69
v: v3
  • Loading branch information
Yongqiang Yang authored and Theodore Ts'o committed Feb 20, 2012
1 parent 0c7b21d commit 56b2016
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0c2022eccb01630c037f2024531e9ff1afbe1564
refs/heads/master: 4185a2ac422c7fc76a77a3eb2c38ce19eeaae563
12 changes: 6 additions & 6 deletions trunk/fs/jbd2/journal.c
Original file line number Diff line number Diff line change
Expand Up @@ -2017,7 +2017,7 @@ static struct kmem_cache *jbd2_journal_head_cache;
static atomic_t nr_journal_heads = ATOMIC_INIT(0);
#endif

static int journal_init_jbd2_journal_head_cache(void)
static int jbd2_journal_init_journal_head_cache(void)
{
int retval;

Expand All @@ -2035,7 +2035,7 @@ static int journal_init_jbd2_journal_head_cache(void)
return retval;
}

static void jbd2_journal_destroy_jbd2_journal_head_cache(void)
static void jbd2_journal_destroy_journal_head_cache(void)
{
if (jbd2_journal_head_cache) {
kmem_cache_destroy(jbd2_journal_head_cache);
Expand Down Expand Up @@ -2323,7 +2323,7 @@ static void __exit jbd2_remove_jbd_stats_proc_entry(void)

struct kmem_cache *jbd2_handle_cache, *jbd2_inode_cache;

static int __init journal_init_handle_cache(void)
static int __init jbd2_journal_init_handle_cache(void)
{
jbd2_handle_cache = KMEM_CACHE(jbd2_journal_handle, SLAB_TEMPORARY);
if (jbd2_handle_cache == NULL) {
Expand Down Expand Up @@ -2358,9 +2358,9 @@ static int __init journal_init_caches(void)

ret = jbd2_journal_init_revoke_caches();
if (ret == 0)
ret = journal_init_jbd2_journal_head_cache();
ret = jbd2_journal_init_journal_head_cache();
if (ret == 0)
ret = journal_init_handle_cache();
ret = jbd2_journal_init_handle_cache();
if (ret == 0)
ret = jbd2_journal_init_transaction_cache();
return ret;
Expand All @@ -2369,7 +2369,7 @@ static int __init journal_init_caches(void)
static void jbd2_journal_destroy_caches(void)
{
jbd2_journal_destroy_revoke_caches();
jbd2_journal_destroy_jbd2_journal_head_cache();
jbd2_journal_destroy_journal_head_cache();
jbd2_journal_destroy_handle_cache();
jbd2_journal_destroy_transaction_cache();
jbd2_journal_destroy_slabs();
Expand Down

0 comments on commit 56b2016

Please sign in to comment.