Do not try to free snapshot_bitmaps
This commit is contained in:
@@ -190,7 +190,6 @@ int osd_t::collect_bitmap_requests(osd_op_t *cur_op, pg_t & pg, std::vector<bitm
|
|||||||
memcpy(local_stripes, op_data->stripes, sizeof(osd_rmw_stripe_t) * pg.pg_size);
|
memcpy(local_stripes, op_data->stripes, sizeof(osd_rmw_stripe_t) * pg.pg_size);
|
||||||
if (extend_missing_stripes(local_stripes, cur_set, pg.pg_data_size, pg.pg_size) < 0)
|
if (extend_missing_stripes(local_stripes, cur_set, pg.pg_data_size, pg.pg_size) < 0)
|
||||||
{
|
{
|
||||||
free(op_data->snapshot_bitmaps);
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
int need_at_least = 0;
|
int need_at_least = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user