summaryrefslogtreecommitdiff
path: root/fs/f2fs/segment.c
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2016-09-05 07:28:26 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2016-09-08 04:53:48 +0300
commit6ab2a3085eb3c0ad58fa47f827921d05e9ad2e06 (patch)
treee44b8c5934252ae441e96ab47221834b0f0c080e /fs/f2fs/segment.c
parent6bf6b267d27d381fd43d2ac6152fa25de716ceaa (diff)
downloadlinux-6ab2a3085eb3c0ad58fa47f827921d05e9ad2e06.tar.xz
f2fs: fix minor typo
Correct typo from 'destory' to 'destroy'. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/segment.c')
-rw-r--r--fs/f2fs/segment.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c
index 93c5e26c7fc5..ff4b7238f36d 100644
--- a/fs/f2fs/segment.c
+++ b/fs/f2fs/segment.c
@@ -2678,7 +2678,7 @@ int __init create_segment_manager_caches(void)
bio_entry_slab = f2fs_kmem_cache_create("bio_entry",
sizeof(struct bio_entry));
if (!bio_entry_slab)
- goto destory_discard_entry;
+ goto destroy_discard_entry;
sit_entry_set_slab = f2fs_kmem_cache_create("sit_entry_set",
sizeof(struct sit_entry_set));
@@ -2695,7 +2695,7 @@ destroy_sit_entry_set:
kmem_cache_destroy(sit_entry_set_slab);
destroy_bio_entry:
kmem_cache_destroy(bio_entry_slab);
-destory_discard_entry:
+destroy_discard_entry:
kmem_cache_destroy(discard_entry_slab);
fail:
return -ENOMEM;