author: Ingo Molnar <mingo@kernel.org> 2017-04-23 11:12:44 +0200
committer: Ingo Molnar <mingo@kernel.org> 2017-04-23 11:12:44 +0200
commit: 58d30c36d472b75e8e9962d6a640be19d9389128
parent: 94836ecf1e7378b64d37624fbb81fe48fbd4c772
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/jbd2/journal.c b/fs/jbd2/journal.c
index 5adc2fb62b0f..92b255e1ba58 100644
--- a/fs/jbd2/journal.c
+++ b/fs/jbd2/journal.c
@@ -2340,7 +2340,7 @@ static int jbd2_journal_init_journal_head_cache(void)
jbd2_journal_head_cache = kmem_cache_create("jbd2_journal_head",
sizeof(struct journal_head),
0, /* offset */
- SLAB_TEMPORARY | SLAB_DESTROY_BY_RCU,
+ SLAB_TEMPORARY | SLAB_TYPESAFE_BY_RCU,
NULL); /* ctor */
retval = 0;
if (!jbd2_journal_head_cache) {