From eef5159387781026afe11fd72ab65c06df3349e9 Mon Sep 17 00:00:00 2001 From: Jim Harris Date: Fri, 7 May 2021 17:34:18 +0000 Subject: [PATCH] module/blob/bdev: use __SPDK_BDEV_MODULE_ONLY This module only requires the spdk_bdev_module APIs, so use this #define to avoid having to bump so version when spdk_bdev is modified. Signed-off-by: Jim Harris Change-Id: I292c38e60cbf21d0d5a6583cb2a2b097c524f3d1 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7811 Community-CI: Broadcom CI Tested-by: SPDK CI Jenkins Reviewed-by: Michal Berger Reviewed-by: Changpeng Liu Reviewed-by: Aleksey Marchuk Reviewed-by: Shuhei Matsumoto --- module/blob/bdev/blob_bdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/module/blob/bdev/blob_bdev.c b/module/blob/bdev/blob_bdev.c index 1b788c5bf4..32c1a59d83 100644 --- a/module/blob/bdev/blob_bdev.c +++ b/module/blob/bdev/blob_bdev.c @@ -38,6 +38,7 @@ #include "spdk/thread.h" #include "spdk/log.h" #include "spdk/endian.h" +#define __SPDK_BDEV_MODULE_ONLY #include "spdk/bdev_module.h" struct blob_bdev {