summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/segment.c
diff options
context:
space:
mode:
authorChangman Lee <cm224.lee@samsung.com>2014-11-21 15:42:07 +0900
committerJaegeuk Kim <jaegeuk@kernel.org>2014-11-23 21:48:49 -0800
commitc9ee00857c9630fba14ebe368d06dc3ac2489b84 (patch)
tree04ae0325548f6af79e0fe331f3b35919ea531ecb /fs/f2fs/segment.c
parent09b8b3c83971c82fd1a0ae32625b3be2aa891688 (diff)
downloadop-kernel-dev-c9ee00857c9630fba14ebe368d06dc3ac2489b84.zip
op-kernel-dev-c9ee00857c9630fba14ebe368d06dc3ac2489b84.tar.gz
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 <cm224.lee@samsung.com> Reviewed-by: Chao Yu <chao2.yu@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/segment.c')
-rw-r--r--fs/f2fs/segment.c2
1 files changed, 1 insertions, 1 deletions
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;
OpenPOWER on IntegriCloud