diff --git a/module/bdev/ocf/ctx.c b/module/bdev/ocf/ctx.c index ed9991752..e41da05bb 100644 --- a/module/bdev/ocf/ctx.c +++ b/module/bdev/ocf/ctx.c @@ -37,7 +37,6 @@ #include "spdk/log.h" #include "ctx.h" -#include "ocf_env.h" #include "data.h" ocf_ctx_t vbdev_ocf_ctx; diff --git a/module/bdev/ocf/ctx.h b/module/bdev/ocf/ctx.h index 446ac8d8f..4419ef5e5 100644 --- a/module/bdev/ocf/ctx.h +++ b/module/bdev/ocf/ctx.h @@ -35,6 +35,7 @@ #define VBDEV_OCF_CTX_H #include +#include "ocf_env.h" #include "spdk/thread.h" extern ocf_ctx_t vbdev_ocf_ctx; diff --git a/module/bdev/ocf/data.h b/module/bdev/ocf/data.h index 7ed5adcef..56e8398e0 100644 --- a/module/bdev/ocf/data.h +++ b/module/bdev/ocf/data.h @@ -34,6 +34,7 @@ #ifndef VBDEV_OCF_DATA_H #define VBDEV_OCF_DATA_H +#include "ocf_env.h" #include "spdk/bdev_module.h" struct bdev_ocf_data { diff --git a/module/bdev/ocf/volume.h b/module/bdev/ocf/volume.h index 6ae7488b5..20b4bff72 100644 --- a/module/bdev/ocf/volume.h +++ b/module/bdev/ocf/volume.h @@ -36,7 +36,6 @@ #include -#include "ocf_env.h" #include "ctx.h" #include "data.h"