|
@@ -939,11 +939,11 @@ void init_orphan_info(struct f2fs_sb_info *sbi)
|
|
int __init create_checkpoint_caches(void)
|
|
int __init create_checkpoint_caches(void)
|
|
{
|
|
{
|
|
orphan_entry_slab = f2fs_kmem_cache_create("f2fs_orphan_entry",
|
|
orphan_entry_slab = f2fs_kmem_cache_create("f2fs_orphan_entry",
|
|
- sizeof(struct orphan_inode_entry), NULL);
|
|
|
|
|
|
+ sizeof(struct orphan_inode_entry));
|
|
if (!orphan_entry_slab)
|
|
if (!orphan_entry_slab)
|
|
return -ENOMEM;
|
|
return -ENOMEM;
|
|
inode_entry_slab = f2fs_kmem_cache_create("f2fs_dirty_dir_entry",
|
|
inode_entry_slab = f2fs_kmem_cache_create("f2fs_dirty_dir_entry",
|
|
- sizeof(struct dir_inode_entry), NULL);
|
|
|
|
|
|
+ sizeof(struct dir_inode_entry));
|
|
if (!inode_entry_slab) {
|
|
if (!inode_entry_slab) {
|
|
kmem_cache_destroy(orphan_entry_slab);
|
|
kmem_cache_destroy(orphan_entry_slab);
|
|
return -ENOMEM;
|
|
return -ENOMEM;
|