提交 c9ee0085 编写于 作者: C Changman Lee 提交者: Jaegeuk Kim

f2fs: fix wrong data structure when create slab

It used nat_entry_set when create slab for sit_entry_set.
Signed-off-by: NChangman Lee <cm224.lee@samsung.com>
Reviewed-by: NChao Yu <chao2.yu@samsung.com>
Signed-off-by: NJaegeuk Kim <jaegeuk@kernel.org>
上级 09b8b3c8
...@@ -2231,7 +2231,7 @@ int __init create_segment_manager_caches(void) ...@@ -2231,7 +2231,7 @@ int __init create_segment_manager_caches(void)
goto fail; goto fail;
sit_entry_set_slab = f2fs_kmem_cache_create("sit_entry_set", sit_entry_set_slab = f2fs_kmem_cache_create("sit_entry_set",
sizeof(struct nat_entry_set)); sizeof(struct sit_entry_set));
if (!sit_entry_set_slab) if (!sit_entry_set_slab)
goto destory_discard_entry; goto destory_discard_entry;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册