bdev/raid: Change raid_bdev_free_base_bdev_resource() from public to private
raid_bdev_free_base_bdev_resource() has been referenced only in bdev_raid.c. Change-Id: I4be9ed5b7a93b950b16e57323cdf1f4bdf89841f Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/450565 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> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
596d7a0fb6
commit
00b13a7207
@ -193,7 +193,7 @@ raid_bdev_cleanup(struct raid_bdev *raid_bdev)
|
||||
* 0 - success
|
||||
* non zero - failure
|
||||
*/
|
||||
void
|
||||
static void
|
||||
raid_bdev_free_base_bdev_resource(struct raid_bdev *raid_bdev, uint32_t base_bdev_slot)
|
||||
{
|
||||
struct raid_base_bdev_info *info;
|
||||
|
@ -217,7 +217,6 @@ extern struct raid_config g_raid_config;
|
||||
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);
|
||||
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