Fix argument order in ocf_metadata_set_partition_id() call

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
Robert Baldyga 2021-07-09 21:31:06 +02:00
parent d79c4b7dc9
commit f538bbd3ae

View File

@ -1158,7 +1158,7 @@ static void _recovery_rebuild_cline_metadata(ocf_cache_t cache,
part_id = PARTITION_DEFAULT; part_id = PARTITION_DEFAULT;
part = cache->user_parts[part_id].part.runtime; part = cache->user_parts[part_id].part.runtime;
ocf_metadata_set_partition_id(cache, part_id, cache_line); ocf_metadata_set_partition_id(cache, cache_line, part_id);
env_atomic_inc(&part->curr_size); env_atomic_inc(&part->curr_size);
hash_index = ocf_metadata_hash_func(cache, core_line, core_id); hash_index = ocf_metadata_hash_func(cache, core_line, core_id);