|
@@ -852,9 +852,9 @@ static inline void f2fs_put_dnode(struct dnode_of_data *dn)
|
|
|
}
|
|
|
|
|
|
static inline struct kmem_cache *f2fs_kmem_cache_create(const char *name,
|
|
|
- size_t size, void (*ctor)(void *))
|
|
|
+ size_t size)
|
|
|
{
|
|
|
- return kmem_cache_create(name, size, 0, SLAB_RECLAIM_ACCOUNT, ctor);
|
|
|
+ return kmem_cache_create(name, size, 0, SLAB_RECLAIM_ACCOUNT, NULL);
|
|
|
}
|
|
|
|
|
|
static inline void *f2fs_kmem_cache_alloc(struct kmem_cache *cachep,
|