a few typo fixes
Signed-off-by: David Lee <live4thee@gmail.com>
This commit is contained in:
parent
15c2986b8d
commit
d6b0fbceac
@ -94,7 +94,7 @@ int initialize_cache(ocf_ctx_t ctx, ocf_cache_t *cache)
|
||||
ocf_mngt_cache_config_set_default(&cache_cfg);
|
||||
cache_cfg.metadata_volatile = true;
|
||||
|
||||
/* Cache deivce (volume) configuration */
|
||||
/* Cache device (volume) configuration */
|
||||
type = ocf_ctx_get_volume_type(ctx, VOL_TYPE);
|
||||
ret = ocf_uuid_set_str(&uuid, "cache");
|
||||
if (ret)
|
||||
@ -260,7 +260,7 @@ void complete_read(struct ocf_io *io, int error)
|
||||
{
|
||||
struct volume_data *data = ocf_io_get_data(io);
|
||||
|
||||
printf("WRITE COMPLETE (error: %d)\n", error);
|
||||
printf("READ COMPLETE (error: %d)\n", error);
|
||||
printf("DATA: \"%s\"\n", (char *)data->ptr);
|
||||
|
||||
/* Free data buffer and io */
|
||||
|
@ -445,9 +445,9 @@ struct ocf_mngt_cache_attach_config {
|
||||
};
|
||||
|
||||
/**
|
||||
* @brief Initialize core config to default values
|
||||
* @brief Initialize attach config to default values
|
||||
*
|
||||
* @note This function doesn't initiialize uuid and volume_type fields
|
||||
* @note This function doesn't initialize uuid and volume_type fields
|
||||
* which have no default values and are required to be set by user.
|
||||
*
|
||||
* @param[in] cfg Cache device config stucture
|
||||
|
Loading…
Reference in New Issue
Block a user