Version 2.02.137 -
=====================================
+ Add mem pool arg for check_transient_status() target function.
Avoid misleading error with -m is omitted with lvconvert to raid types.
Version 2.02.136 - 28th November 2015
}
if (seg->segtype->ops->check_transient_status &&
- !seg->segtype->ops->check_transient_status(seg, params))
+ !seg->segtype->ops->check_transient_status(dm->mem, seg, params))
goto_out;
} while (next);
struct dm_tree_node *node, uint64_t len,
uint32_t *pvmove_mirror_count);
int (*target_status_compatible) (const char *type);
- int (*check_transient_status) (struct lv_segment *seg, char *params);
+ int (*check_transient_status) (struct dm_pool *mem,
+ struct lv_segment *seg, char *params);
int (*target_percent) (void **target_state,
dm_percent_t *percent,
struct dm_pool * mem,
return 1;
}
-static int _mirrored_transient_status(struct lv_segment *seg, char *params)
+static int _mirrored_transient_status(struct dm_pool *mem, struct lv_segment *seg, char *params)
{
unsigned i, j;
struct logical_volume *lv = seg->lv;