Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure avl_tree.avl_pad is not in kernel module
The commit b192a2c (Remove avl_size field from struct avl_tree) uses a def _KERNEL to decide to include avl_pad or not, but this _KERNEL is defined in sys/sysmacros.h. If avl.h and sysmacros.h are not included in the right order, it can cause a headache when working on a zfs related kernel module. Add sysmacros.h in avl_impl.h to fix. sysmacros.h is also removed from spa.h as it's reduntant. Signed-off-by: Youzhong Yang <[email protected]>
- Loading branch information