include: remove util.h include from queue_extras.h
This include isn't needed in queue_extras.h itself. There were a few places that were implicitly depending on this include, so fix those to include util.h explicitly. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Ia962ae5a4403ee8ae15f3106d0d5e7d7412a4535 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7172 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: <dongx.yi@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
This commit is contained in:
parent
558be98fd3
commit
df902b1d2e
@ -37,6 +37,7 @@
|
|||||||
#include "spdk/event.h"
|
#include "spdk/event.h"
|
||||||
#include "spdk/fd.h"
|
#include "spdk/fd.h"
|
||||||
#include "spdk/string.h"
|
#include "spdk/string.h"
|
||||||
|
#include "spdk/util.h"
|
||||||
#include "spdk/vmd.h"
|
#include "spdk/vmd.h"
|
||||||
|
|
||||||
#include <libaio.h>
|
#include <libaio.h>
|
||||||
|
@ -105,8 +105,6 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "spdk/util.h"
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Singly-linked Tail queue declarations.
|
* Singly-linked Tail queue declarations.
|
||||||
*/
|
*/
|
||||||
|
@ -40,6 +40,7 @@
|
|||||||
|
|
||||||
#include "spdk_internal/rdma.h"
|
#include "spdk_internal/rdma.h"
|
||||||
#include "spdk/log.h"
|
#include "spdk/log.h"
|
||||||
|
#include "spdk/util.h"
|
||||||
|
|
||||||
struct spdk_rdma_mlx5_dv_qp {
|
struct spdk_rdma_mlx5_dv_qp {
|
||||||
struct spdk_rdma_qp common;
|
struct spdk_rdma_qp common;
|
||||||
|
@ -39,6 +39,7 @@
|
|||||||
#include "spdk/log.h"
|
#include "spdk/log.h"
|
||||||
#include "spdk/env.h"
|
#include "spdk/env.h"
|
||||||
#include "spdk/queue.h"
|
#include "spdk/queue.h"
|
||||||
|
#include "spdk/util.h"
|
||||||
#include "spdk/vfio_user_pci.h"
|
#include "spdk/vfio_user_pci.h"
|
||||||
|
|
||||||
#include "vfio_user_internal.h"
|
#include "vfio_user_internal.h"
|
||||||
|
@ -38,6 +38,7 @@
|
|||||||
#include "vhost_user.h"
|
#include "vhost_user.h"
|
||||||
#include "spdk/string.h"
|
#include "spdk/string.h"
|
||||||
#include "spdk/config.h"
|
#include "spdk/config.h"
|
||||||
|
#include "spdk/util.h"
|
||||||
|
|
||||||
#include "spdk_internal/virtio.h"
|
#include "spdk_internal/virtio.h"
|
||||||
|
|
||||||
|
@ -41,6 +41,7 @@
|
|||||||
#include "spdk/rpc.h"
|
#include "spdk/rpc.h"
|
||||||
#include "spdk/string.h"
|
#include "spdk/string.h"
|
||||||
#include "spdk/thread.h"
|
#include "spdk/thread.h"
|
||||||
|
#include "spdk/util.h"
|
||||||
|
|
||||||
static bool g_is_running = true;
|
static bool g_is_running = true;
|
||||||
pthread_mutex_t g_sched_list_mutex = PTHREAD_MUTEX_INITIALIZER;
|
pthread_mutex_t g_sched_list_mutex = PTHREAD_MUTEX_INITIALIZER;
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
#include "spdk/likely.h"
|
#include "spdk/likely.h"
|
||||||
#include "spdk/log.h"
|
#include "spdk/log.h"
|
||||||
#include "spdk/stdinc.h"
|
#include "spdk/stdinc.h"
|
||||||
|
#include "spdk/util.h"
|
||||||
#include "nvme.h"
|
#include "nvme.h"
|
||||||
|
|
||||||
typedef void (*nvme_cmd_cb)(void *ctx, const struct spdk_nvme_cpl *cpl);
|
typedef void (*nvme_cmd_cb)(void *ctx, const struct spdk_nvme_cpl *cpl);
|
||||||
|
Loading…
Reference in New Issue
Block a user