]> git.proxmox.com Git - mirror_zfs.git/commit
Add kmem_cache.h include to default context
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 9 Dec 2014 00:03:50 +0000 (19:03 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 16 Jan 2015 22:41:28 +0000 (14:41 -0800)
commit60e1eda929b04445a0ab0451674f83b86c6ec347
tree4a3a7f69eb2baedefec32b38d21daface6dfb2f6
parent79c76d5b65b19a602d4c7a340da7bf90d4a0c4f8
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 <behlendorf1@llnl.gov>
include/sys/zfs_context.h