From c9ee00857c9630fba14ebe368d06dc3ac2489b84 Mon Sep 17 00:00:00 2001 From: Changman Lee Date: Fri, 21 Nov 2014 15:42:07 +0900 Subject: f2fs: fix wrong data structure when create slab It used nat_entry_set when create slab for sit_entry_set. Signed-off-by: Changman Lee Reviewed-by: Chao Yu Signed-off-by: Jaegeuk Kim --- fs/f2fs/segment.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fs/f2fs') diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index e094675..9de857f 100644 --- a/fs/f2fs/segment.c +++ b/fs/f2fs/segment.c @@ -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; -- cgit v1.1