diff options
author | Chao Yu <yuchao0@huawei.com> | 2020-02-17 10:46:20 +0100 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2020-03-19 19:41:26 +0100 |
commit | 985100035ef5a78889bd2295d1cd91000b133846 (patch) | |
tree | bea48f4cf18ec5fcb9ff6fa02f7d37463007354a /fs/f2fs/data.c | |
parent | f2fs: introduce DEFAULT_IO_TIMEOUT (diff) | |
download | linux-985100035ef5a78889bd2295d1cd91000b133846.tar.xz linux-985100035ef5a78889bd2295d1cd91000b133846.zip |
f2fs: add prefix for f2fs slab cache name
In order to avoid polluting global slab cache namespace.
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/data.c')
-rw-r--r-- | fs/f2fs/data.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index 43d705727aa5..68da6036cadd 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c @@ -3852,7 +3852,7 @@ void f2fs_destroy_post_read_wq(struct f2fs_sb_info *sbi) int __init f2fs_init_bio_entry_cache(void) { - bio_entry_slab = f2fs_kmem_cache_create("bio_entry_slab", + bio_entry_slab = f2fs_kmem_cache_create("f2fs_bio_entry_slab", sizeof(struct bio_entry)); if (!bio_entry_slab) return -ENOMEM; |