Skip to content

Commit

Permalink
Make sure avl_tree.avl_pad is not in kernel module
Browse files Browse the repository at this point in the history
Signed-off-by: Youzhong Yang <[email protected]>

Remove sysmacros.h from spa.h

Signed-off-by: Youzhong Yang <[email protected]>
  • Loading branch information
Youzhong Yang committed Jun 25, 2024
1 parent c98295e commit ec044b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions include/sys/avl_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
*/

#include <sys/types.h>
#include <sys/sysmacros.h>

#ifdef __cplusplus
extern "C" {
Expand Down
3 changes: 1 addition & 2 deletions include/sys/spa.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,10 @@
#ifndef _SYS_SPA_H
#define _SYS_SPA_H

#include <sys/avl.h>
#include <sys/zfs_context.h>
#include <sys/avl.h>
#include <sys/kstat.h>
#include <sys/nvpair.h>
#include <sys/sysmacros.h>
#include <sys/types.h>
#include <sys/fs/zfs.h>
#include <sys/spa_checksum.h>
Expand Down

0 comments on commit ec044b1

Please sign in to comment.