Remove OCF prefix
This commit is contained in:
parent
d037a858a0
commit
0cb11b0d3c
@ -585,7 +585,7 @@ static int _ocf_engine_refresh(struct ocf_request *rq)
|
||||
else
|
||||
ENV_BUG();
|
||||
} else {
|
||||
ENV_WARN(true, OCF_PREFIX_SHORT" Inconsistent request");
|
||||
ENV_WARN(true, "Inconsistent request");
|
||||
rq->error = -EINVAL;
|
||||
|
||||
/* Complete request */
|
||||
|
@ -33,7 +33,7 @@ struct ocf_ctx {
|
||||
};
|
||||
|
||||
#define ocf_log_prefix(ctx, lvl, prefix, fmt, ...) \
|
||||
ocf_log_raw(ctx->logger, lvl, OCF_PREFIX_SHORT prefix fmt, ##__VA_ARGS__)
|
||||
ocf_log_raw(ctx->logger, lvl, prefix fmt, ##__VA_ARGS__)
|
||||
|
||||
#define ocf_log(ctx, lvl, fmt, ...) \
|
||||
ocf_log_prefix(ctx, lvl, "", fmt, ##__VA_ARGS__)
|
||||
|
@ -119,7 +119,7 @@ void env_allocator_destroy(env_allocator *allocator)
|
||||
if (allocator) {
|
||||
if (env_atomic_read(&allocator->count)) {
|
||||
fprintf(stderr, "Not all object deallocated\n");
|
||||
ENV_WARN(true, OCF_PREFIX_SHORT" Cleanup problem\n");
|
||||
ENV_WARN(true, "Cleanup problem\n");
|
||||
}
|
||||
|
||||
free(allocator->name);
|
||||
|
@ -13,8 +13,6 @@
|
||||
#define __USE_GNU
|
||||
#endif
|
||||
|
||||
#define OCF_PREFIX_SHORT "OCF"
|
||||
|
||||
#include <linux/limits.h>
|
||||
#include <linux/stddef.h>
|
||||
#include <stdint.h>
|
||||
|
Loading…
Reference in New Issue
Block a user