bdev/raid: Change raid_bdev_cleanup() from public to private
raid_bdev_cleanup() has been used only in raid_bdev.c. Change-Id: I4dcc4979eda2fd872fda23e3433b120ab6aaaad2 Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/450564 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
This commit is contained in:
parent
1ba9859353
commit
596d7a0fb6
@ -159,7 +159,7 @@ raid_bdev_destroy_cb(void *io_device, void *ctx_buf)
|
||||
* returns:
|
||||
* none
|
||||
*/
|
||||
void
|
||||
static void
|
||||
raid_bdev_cleanup(struct raid_bdev *raid_bdev)
|
||||
{
|
||||
SPDK_DEBUGLOG(SPDK_LOG_BDEV_RAID, "raid_bdev_cleanup, %p name %s, state %u, config %p\n",
|
||||
|
@ -218,7 +218,6 @@ int raid_bdev_create(struct raid_bdev_config *raid_cfg);
|
||||
void raid_bdev_remove_base_bdev(void *ctx);
|
||||
int raid_bdev_add_base_devices(struct raid_bdev_config *raid_cfg);
|
||||
void raid_bdev_free_base_bdev_resource(struct raid_bdev *raid_bdev, uint32_t slot);
|
||||
void raid_bdev_cleanup(struct raid_bdev *raid_bdev);
|
||||
int raid_bdev_config_add(const char *raid_name, int strip_size, int num_base_bdevs,
|
||||
int raid_level, struct raid_bdev_config **_raid_cfg);
|
||||
int raid_bdev_config_add_base_bdev(struct raid_bdev_config *raid_cfg,
|
||||
|
Loading…
x
Reference in New Issue
Block a user