From: lixiaoy1 Date: Fri, 14 Aug 2020 11:09:57 +0000 (-0400) Subject: rbd/rwl: fix the config issue X-Git-Tag: wip-pdonnell-testing-20200918.022351~365^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=ad989894666729ebd77ee1b9b0b04db75d2a9aa4;p=ceph-ci.git rbd/rwl: fix the config issue Include acconfig.h to the librbd/cache/Util.h. Signed-off-by: Li, Xiaoyan --- diff --git a/src/librbd/cache/Utils.h b/src/librbd/cache/Utils.h index 99752529072..e69b09b3aae 100644 --- a/src/librbd/cache/Utils.h +++ b/src/librbd/cache/Utils.h @@ -4,6 +4,8 @@ #ifndef CEPH_LIBRBD_CACHE_UTILS_H #define CEPH_LIBRBD_CACHE_UTILS_H +#include "acconfig.h" + namespace librbd { namespace cache { @@ -15,7 +17,7 @@ bool is_rwl_enabled(T& image_ctx) { return image_ctx.config.template get_val("rbd_rwl_enabled"); #else return false; -#endif +#endif // WITH_RBD_RWL } } // namespace util