aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/spa_boot.c
diff options
context:
space:
mode:
authorArvind Sankar <[email protected]>2020-06-11 16:25:39 -0400
committerBrian Behlendorf <[email protected]>2020-06-18 12:21:25 -0700
commit60356b1a211a0fcfe7dbd2e1dd280d6fc0170cf0 (patch)
treeca3cd9430efffadd0f1a98994c3d864ce16076b0 /module/zfs/spa_boot.c
parentc3fe42aabd9f8879500437e2be2968b47e8b6797 (diff)
Add include files for prototypes
Include the header with prototypes in the file that provides definitions as well, to catch any mismatch between prototype and definition. Reviewed-by: Ryan Moeller <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Arvind Sankar <[email protected]> Closes #10470
Diffstat (limited to 'module/zfs/spa_boot.c')
-rw-r--r--module/zfs/spa_boot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/spa_boot.c b/module/zfs/spa_boot.c
index be79542c9..674394650 100644
--- a/module/zfs/spa_boot.c
+++ b/module/zfs/spa_boot.c
@@ -27,7 +27,7 @@
#ifdef _KERNEL
#include <sys/zio.h>
-#include <sys/spa.h>
+#include <sys/spa_boot.h>
#include <sys/sunddi.h>
char *