Commit 1900c8c2 authored by Maciej Szwed's avatar Maciej Szwed Committed by Ben Walker
Browse files

bdev: Move spdk_bdev declaration higher in the bdev.h file



It is required for upcoming patches.

Signed-off-by: default avatarMaciej Szwed <maciej.szwed@intel.com>
Change-Id: I836a1118309cc3ef4168d834697109200cf18553

Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/455646


Reviewed-by: default avatarTomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: default avatarPaul Luse <paul.e.luse@intel.com>
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
Reviewed-by: default avatarDarek Stojaczyk <dariusz.stojaczyk@intel.com>
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
parent 14f6d724
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -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.
 */