--- a/drivers/md/dm.c +++ b/drivers/md/dm.c @@ -1219,11 +1219,9 @@ static int dm_dax_zero_page_range(struct * ->zero_page_range() is mandatory dax operation. If we are * here, something is wrong. */ - dm_put_live_table(md, srcu_idx); goto out; } ret = ti->type->dax_zero_page_range(ti, pgoff, nr_pages); - out: dm_put_live_table(md, srcu_idx);