f2fs: fix wrong data structure when create slab
authorChangman Lee <cm224.lee@samsung.com>
Fri, 21 Nov 2014 06:42:07 +0000 (15:42 +0900)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 24 Nov 2014 05:48:49 +0000 (21:48 -0800)
It used nat_entry_set when create slab for sit_entry_set.

Signed-off-by: Changman Lee <cm224.lee@samsung.com>
Reviewed-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.c

index e094675497d858c642c4730deb19ce03741b417a..9de857f6899b805220db8ba21bb9705842ebaed9 100644 (file)
@@ -2231,7 +2231,7 @@ int __init create_segment_manager_caches(void)
                goto fail;
 
        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)
                goto destory_discard_entry;