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: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/389895
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Maciej Szwed <maciej.szwed@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
Daniel Verkamp 2017-11-30 11:34:00 -07:00 committed by Jim Harris
parent d6427151bb
commit 54fb60177a
2 changed files with 3 additions and 2 deletions

View File

@ -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;

View File

@ -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"