diff options
Diffstat (limited to 'fs/f2fs/f2fs.h')
-rw-r--r-- | fs/f2fs/f2fs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 8b2cb82f852b..f845e9282f5e 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h | |||
@@ -852,9 +852,9 @@ static inline void f2fs_put_dnode(struct dnode_of_data *dn) | |||
852 | } | 852 | } |
853 | 853 | ||
854 | static inline struct kmem_cache *f2fs_kmem_cache_create(const char *name, | 854 | static inline struct kmem_cache *f2fs_kmem_cache_create(const char *name, |
855 | size_t size, void (*ctor)(void *)) | 855 | size_t size) |
856 | { | 856 | { |
857 | return kmem_cache_create(name, size, 0, SLAB_RECLAIM_ACCOUNT, ctor); | 857 | return kmem_cache_create(name, size, 0, SLAB_RECLAIM_ACCOUNT, NULL); |
858 | } | 858 | } |
859 | 859 | ||
860 | static inline void *f2fs_kmem_cache_alloc(struct kmem_cache *cachep, | 860 | static inline void *f2fs_kmem_cache_alloc(struct kmem_cache *cachep, |