mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 11:19:32 +03:00
Include prototypes for vdev_initialize
Address two prototype related warnings emitted by clang. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Igor Kozhukhov <igor@dilos.org> Signed-off-by: Matt Macy <mmacy@FreeBSD.org> Closes #9535
This commit is contained in:
parent
2a3aa5a109
commit
59055a0164
@ -32,6 +32,7 @@
|
|||||||
#include <sys/dsl_synctask.h>
|
#include <sys/dsl_synctask.h>
|
||||||
#include <sys/zap.h>
|
#include <sys/zap.h>
|
||||||
#include <sys/dmu_tx.h>
|
#include <sys/dmu_tx.h>
|
||||||
|
#include <sys/vdev_initialize.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Value that is written to disk during initialization.
|
* Value that is written to disk during initialization.
|
||||||
@ -424,7 +425,7 @@ vdev_initialize_load(vdev_t *vd)
|
|||||||
* Convert the logical range into a physical range and add it to our
|
* Convert the logical range into a physical range and add it to our
|
||||||
* avl tree.
|
* avl tree.
|
||||||
*/
|
*/
|
||||||
void
|
static void
|
||||||
vdev_initialize_range_add(void *arg, uint64_t start, uint64_t size)
|
vdev_initialize_range_add(void *arg, uint64_t start, uint64_t size)
|
||||||
{
|
{
|
||||||
vdev_t *vd = arg;
|
vdev_t *vd = arg;
|
||||||
|
Loading…
Reference in New Issue
Block a user