diff --git a/include/spdk/bdev.h b/include/spdk/bdev.h index 21aa2f610..4e76415dd 100644 --- a/include/spdk/bdev.h +++ b/include/spdk/bdev.h @@ -60,6 +60,13 @@ extern "C" { */ #define SPDK_BDEV_BUF_SIZE_WITH_MD(x) (((x) / 512) * (512 + 16)) +/** + * \brief SPDK block device. + * + * This is a virtual representation of a block device that is exported by the backend. + */ +struct spdk_bdev; + /** * Block device remove callback. * @@ -86,13 +93,6 @@ enum spdk_bdev_status { SPDK_BDEV_STATUS_REMOVING, }; -/** - * \brief SPDK block device. - * - * This is a virtual representation of a block device that is exported by the backend. - */ -struct spdk_bdev; - /** * \brief Handle to an opened SPDK block device. */