From 7dd5fa8029d785a949349ea0e30e3fd932610600 Mon Sep 17 00:00:00 2001 From: Robert Baldyga Date: Sat, 11 May 2024 00:32:07 +0200 Subject: [PATCH] Add missing headers Signed-off-by: Robert Baldyga --- modules/cas_cache/utils/utils_data.c | 2 ++ modules/cas_cache/volume/vol_block_dev_top.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/modules/cas_cache/utils/utils_data.c b/modules/cas_cache/utils/utils_data.c index 97f91ae..628a163 100644 --- a/modules/cas_cache/utils/utils_data.c +++ b/modules/cas_cache/utils/utils_data.c @@ -1,9 +1,11 @@ /* * Copyright(c) 2012-2021 Intel Corporation +* Copyright(c) 2024 Huawei Technologies * SPDX-License-Identifier: BSD-3-Clause */ #include "cas_cache.h" +#include "utils_data.h" /** * This function locates index of IO vec from given vecs array where byte at diff --git a/modules/cas_cache/volume/vol_block_dev_top.h b/modules/cas_cache/volume/vol_block_dev_top.h index 1ebc5a5..81cddc6 100644 --- a/modules/cas_cache/volume/vol_block_dev_top.h +++ b/modules/cas_cache/volume/vol_block_dev_top.h @@ -1,11 +1,13 @@ /* * Copyright(c) 2012-2022 Intel Corporation +* Copyright(c) 2024 Huawei Technologies * SPDX-License-Identifier: BSD-3-Clause */ #ifndef __VOL_BLOCK_DEV_TOP_H__ #define __VOL_BLOCK_DEV_TOP_H__ +#include "../cas_cache.h" int kcas_core_create_exported_object(ocf_core_t core); int kcas_core_destroy_exported_object(ocf_core_t core);