From 7352fd62d8aadd26fbdd3e4fe8d60288a20d6b9c Mon Sep 17 00:00:00 2001 From: Daniel Verkamp Date: Mon, 11 Jun 2018 13:55:11 -0700 Subject: [PATCH] blob: mark internal function static _spdk_blob_insert_cluster_on_md_thread() is defined and used in the same file, so it doesn't need to be exposed outside of the compilation unit. Change-Id: Ifc327a3d80cae47b28fa2a9ba77471a9b80c83e0 Signed-off-by: Daniel Verkamp Reviewed-on: https://review.gerrithub.io/414702 Tested-by: SPDK Automated Test System Reviewed-by: Ben Walker Reviewed-by: Jim Harris --- lib/blob/blobstore.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/blob/blobstore.c b/lib/blob/blobstore.c index 8d5abb2e6..f5e3883bf 100644 --- a/lib/blob/blobstore.c +++ b/lib/blob/blobstore.c @@ -51,7 +51,7 @@ static int spdk_bs_register_md_thread(struct spdk_blob_store *bs); static int spdk_bs_unregister_md_thread(struct spdk_blob_store *bs); static void _spdk_blob_close_cpl(spdk_bs_sequence_t *seq, void *cb_arg, int bserrno); -void _spdk_blob_insert_cluster_on_md_thread(struct spdk_blob *blob, uint32_t cluster_num, +static void _spdk_blob_insert_cluster_on_md_thread(struct spdk_blob *blob, uint32_t cluster_num, uint64_t cluster, spdk_blob_op_complete cb_fn, void *cb_arg); static int _spdk_blob_set_xattr(struct spdk_blob *blob, const char *name, const void *value, @@ -4824,7 +4824,7 @@ _spdk_blob_insert_cluster_msg(void *arg) _spdk_blob_sync_md(ctx->blob, _spdk_blob_insert_cluster_msg_cb, ctx); } -void +static void _spdk_blob_insert_cluster_on_md_thread(struct spdk_blob *blob, uint32_t cluster_num, uint64_t cluster, spdk_blob_op_complete cb_fn, void *cb_arg) {