lib/lvol: add a map file.

Signed-off-by: Seth Howell <seth.howell@intel.com>
Change-Id: Iec2a50ca4af8fe24f011d4cc6e04606115ba45a0
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2237
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
Seth Howell 2020-05-07 10:06:34 -07:00 committed by Tomasz Zawadzki
parent 7b8a717ff8
commit bbb6368e42
3 changed files with 32 additions and 0 deletions

View File

@ -41,4 +41,6 @@ SO_SUFFIX := $(SO_VER).$(SO_MINOR)
C_SRCS = lvol.c
LIBNAME = lvol
SPDK_MAP_FILE = $(abspath $(CURDIR)/spdk_lvol.map)
include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk

28
lib/lvol/spdk_lvol.map Normal file
View File

@ -0,0 +1,28 @@
{
global:
# public functions
spdk_lvs_opts_init;
spdk_lvs_init;
spdk_lvs_rename;
spdk_lvs_unload;
spdk_lvs_destroy;
spdk_lvol_create;
spdk_lvol_create_snapshot;
spdk_lvol_create_clone;
spdk_lvol_rename;
spdk_lvol_deletable;
spdk_lvol_destroy;
spdk_lvol_close;
spdk_lvol_get_io_channel;
spdk_lvs_load;
spdk_lvol_open;
spdk_lvol_inflate;
spdk_lvol_decouple_parent;
# internal functions
spdk_lvol_resize;
spdk_lvol_set_read_only;
local: *;
};

View File

@ -60,6 +60,8 @@ function confirm_abi_deps() {
name = SPDK_LOG_LOG_RPC
[suppress_variable]
name = SPDK_LOG_LOG
[suppress_variable]
name = SPDK_LOG_LVOL
EOF
for object in "$libdir"/libspdk_*.so; do