Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 105842
b: refs/heads/master
c: 3850f7a
h: refs/heads/master
v: v3
  • Loading branch information
Duane Griffin authored and Linus Torvalds committed Jul 25, 2008
1 parent 7ca2dc4 commit 0f01a62
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: d06bf1d252fe16f5f0d13e04da7a9913420aa1cf
refs/heads/master: 3850f7a521dc17659ef6758a219f083418788490
7 changes: 4 additions & 3 deletions trunk/fs/jbd/journal.c
Original file line number Diff line number Diff line change
Expand Up @@ -1636,9 +1636,10 @@ static int journal_init_journal_head_cache(void)

static void journal_destroy_journal_head_cache(void)
{
J_ASSERT(journal_head_cache != NULL);
kmem_cache_destroy(journal_head_cache);
journal_head_cache = NULL;
if (journal_head_cache) {
kmem_cache_destroy(journal_head_cache);
journal_head_cache = NULL;
}
}

/*
Expand Down

0 comments on commit 0f01a62

Please sign in to comment.