summaryrefslogtreecommitdiffstats
path: root/module/zfs/vdev_initialize.c
diff options
context:
space:
mode:
authorMatthew Macy <[email protected]>2019-10-31 10:09:01 -0700
committerTony Hutter <[email protected]>2020-01-22 13:49:03 -0800
commitca0f9b74733e74bcb17fe305ce9c484cd42d83c3 (patch)
tree403d41e127cdea93ca9043fe0b3ba001890b434f /module/zfs/vdev_initialize.c
parent5187a14f54d9ddf72405d05e5f953151f787c3c1 (diff)
Include prototypes for vdev_initialize
Address two prototype related warnings emitted by clang. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Igor Kozhukhov <[email protected]> Signed-off-by: Matt Macy <[email protected]> Closes #9535
Diffstat (limited to 'module/zfs/vdev_initialize.c')
-rw-r--r--module/zfs/vdev_initialize.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/zfs/vdev_initialize.c b/module/zfs/vdev_initialize.c
index 803d97c29..9958a2958 100644
--- a/module/zfs/vdev_initialize.c
+++ b/module/zfs/vdev_initialize.c
@@ -32,6 +32,7 @@
#include <sys/dsl_synctask.h>
#include <sys/zap.h>
#include <sys/dmu_tx.h>
+#include <sys/vdev_initialize.h>
/*
* Value that is written to disk during initialization.
@@ -415,7 +416,7 @@ vdev_initialize_load(vdev_t *vd)
* Convert the logical range into a physical range and add it to our
* avl tree.
*/
-void
+static void
vdev_initialize_range_add(void *arg, uint64_t start, uint64_t size)
{
vdev_t *vd = arg;