Commit 54fb6017 authored by Daniel Verkamp's avatar Daniel Verkamp Committed by Jim Harris
Browse files

lvol: clean up includes in lvol.h



All SPDK public API headers should include spdk/stdinc.h first.

Additionally, the other headers included in lvol.h aren't needed;
spdk/queue.h was unused, and spdk/blob.h can be replaced with a forward
declaration of struct spdk_bs_dev.

Change-Id: I89fad764efbb4c088ce325392f8237c1a869a895
Signed-off-by: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/389895


Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
Reviewed-by: default avatarMaciej Szwed <maciej.szwed@intel.com>
Tested-by: default avatarSPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
parent d6427151
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -38,9 +38,9 @@
#ifndef SPDK_LVOL_H
#define SPDK_LVOL_H

#include "spdk/queue.h"
#include "spdk/blob.h"
#include "spdk/stdinc.h"

struct spdk_bs_dev;
struct spdk_lvol_store;
struct spdk_lvol;

+1 −0
Original line number Diff line number Diff line
@@ -34,6 +34,7 @@
#ifndef SPDK_INTERNAL_LVOLSTORE_H
#define SPDK_INTERNAL_LVOLSTORE_H

#include "spdk/blob.h"
#include "spdk/lvol.h"
#include "spdk_internal/bdev.h"