Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 95048
b: refs/heads/master
c: 8a9362e
h: refs/heads/master
v: v3
  • Loading branch information
Duane Griffin authored and Theodore Ts'o committed Apr 17, 2008
1 parent 4e67b4a commit 765d0e1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: 83c49523c91fff10493f5b3c102063b02ab76907
refs/heads/master: 8a9362eb405e380432e6883cb83830df3b6cdf78
7 changes: 4 additions & 3 deletions trunk/fs/jbd2/journal.c
Original file line number Diff line number Diff line change
Expand Up @@ -1976,9 +1976,10 @@ static int journal_init_jbd2_journal_head_cache(void)

static void jbd2_journal_destroy_jbd2_journal_head_cache(void)
{
J_ASSERT(jbd2_journal_head_cache != NULL);
kmem_cache_destroy(jbd2_journal_head_cache);
jbd2_journal_head_cache = NULL;
if (jbd2_journal_head_cache) {
kmem_cache_destroy(jbd2_journal_head_cache);
jbd2_journal_head_cache = NULL;
}
}

/*
Expand Down

0 comments on commit 765d0e1

Please sign in to comment.