Rename logger ops from pritnf to print.

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
This commit is contained in:
Michal Mielewczyk 2019-04-17 11:49:55 -04:00
parent 3feeeb9186
commit de128e8747
2 changed files with 5 additions and 5 deletions

View File

@ -294,7 +294,7 @@ static void _cas_ctx_metadata_updater_stop(ocf_metadata_updater_t mu)
/* /*
* *
*/ */
static int _cas_ctx_logger_printf(ocf_logger_t logger, ocf_logger_lvl_t lvl, static int _cas_ctx_logger_print(ocf_logger_t logger, ocf_logger_lvl_t lvl,
const char *fmt, va_list args) const char *fmt, va_list args)
{ {
static const char* level[] = { static const char* level[] = {
@ -325,7 +325,7 @@ static int _cas_ctx_logger_printf(ocf_logger_t logger, ocf_logger_lvl_t lvl,
/* /*
* *
*/ */
static int _cas_ctx_logger_printf_rl(ocf_logger_t logger, const char *func_name) static int _cas_ctx_logger_print_rl(ocf_logger_t logger, const char *func_name)
{ {
static DEFINE_RATELIMIT_STATE(cas_log_rl, CAS_LOG_RATELIMIT, static DEFINE_RATELIMIT_STATE(cas_log_rl, CAS_LOG_RATELIMIT,
CAS_LOG_BURST_LIMIT); CAS_LOG_BURST_LIMIT);
@ -374,8 +374,8 @@ static const struct ocf_ctx_config ctx_cfg = {
}, },
.logger = { .logger = {
.printf = _cas_ctx_logger_printf, .print = _cas_ctx_logger_print,
.printf_rl = _cas_ctx_logger_printf_rl, .print_rl = _cas_ctx_logger_print_rl,
.dump_stack = _cas_ctx_logger_dump_stack, .dump_stack = _cas_ctx_logger_dump_stack,
}, },
}, },

2
ocf

@ -1 +1 @@
Subproject commit f9c22262fb42b25715c690e20fd49513e3b9b3b0 Subproject commit d4e929140efb5c3ca28b587442716162639c0541