From 60e1eda929b04445a0ab0451674f83b86c6ec347 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Mon, 8 Dec 2014 19:03:50 -0500 Subject: Add kmem_cache.h include to default context As part of the spl kmem/vmem refactoring the kmem_cache_* functions were split in to their own kmem_cache.h header. This was done in part so that kmem_* consumers would not be forced to include the kmem_cache_* functions which mask several Linux SLAB/SLAB functions. Because of this we now much explicitly include kmem_cache.h in the zfs_context.h. However, consumers such as Lustre which need access to the KM_FLAGS but not the kmem_cache_* functions can now safely just include kmem.h. Signed-off-by: Brian Behlendorf --- include/sys/zfs_context.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/sys') diff --git a/include/sys/zfs_context.h b/include/sys/zfs_context.h index 2fde3b5fc..3dc54f1d7 100644 --- a/include/sys/zfs_context.h +++ b/include/sys/zfs_context.h @@ -41,6 +41,7 @@ #include #include #include +#include #include #include #include -- cgit v1.2.3