diff options
author | Johann Lombardi <johann.lombardi@bull.net> | 2006-10-11 10:21:00 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-11 20:14:15 +0200 |
commit | a920e9416b3469994860ab552dfd7fd5a5aff162 (patch) | |
tree | 9919991a89614a059fafd91b93666e8487606f3d /fs/jbd2/revoke.c | |
parent | [PATCH] jbd2: rename jbd2 symbols to avoid duplication of jbd symbols (diff) | |
download | linux-a920e9416b3469994860ab552dfd7fd5a5aff162.tar.xz linux-a920e9416b3469994860ab552dfd7fd5a5aff162.zip |
[PATCH] jbd2: rename slab
jbd and jbd2 currently use the same slab names which must be unique. The
patch below just renames jbd2's slabs.
Signed-off-by: Johann Lombardi <johann.lombardi@bull.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/jbd2/revoke.c')
-rw-r--r-- | fs/jbd2/revoke.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/jbd2/revoke.c b/fs/jbd2/revoke.c index 2fccddc7acad..5820a0c5ad26 100644 --- a/fs/jbd2/revoke.c +++ b/fs/jbd2/revoke.c @@ -168,13 +168,13 @@ static struct jbd2_revoke_record_s *find_revoke_record(journal_t *journal, int __init jbd2_journal_init_revoke_caches(void) { - jbd2_revoke_record_cache = kmem_cache_create("revoke_record", + jbd2_revoke_record_cache = kmem_cache_create("jbd2_revoke_record", sizeof(struct jbd2_revoke_record_s), 0, SLAB_HWCACHE_ALIGN, NULL, NULL); if (jbd2_revoke_record_cache == 0) return -ENOMEM; - jbd2_revoke_table_cache = kmem_cache_create("revoke_table", + jbd2_revoke_table_cache = kmem_cache_create("jbd2_revoke_table", sizeof(struct jbd2_revoke_table_s), 0, 0, NULL, NULL); if (jbd2_revoke_table_cache == 0) { |