summaryrefslogtreecommitdiff
path: root/include/linux/mempool.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2016-10-03 19:22:17 -0800
committerKent Overstreet <kent.overstreet@gmail.com>2017-02-28 03:05:38 -0900
commita5b5eba7f788bb77cf57f9c94f3474a2d439ab0b (patch)
tree278813d1b1a9024174531376d41a2ba04a3b27f6 /include/linux/mempool.h
parente4d1c93d85a5b86c04599bfc9f658308d741fd41 (diff)
New on disk format - encryption
Diffstat (limited to 'include/linux/mempool.h')
-rw-r--r--include/linux/mempool.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/mempool.h b/include/linux/mempool.h
index c2789f93..ddf6f941 100644
--- a/include/linux/mempool.h
+++ b/include/linux/mempool.h
@@ -14,6 +14,11 @@ typedef struct mempool_s {
size_t elem_size;
} mempool_t;
+static inline bool mempool_initialized(mempool_t *pool)
+{
+ return true;
+}
+
extern int mempool_resize(mempool_t *pool, int new_min_nr);
static inline void mempool_free(void *element, mempool_t *pool)