Nikos Tsironis c8e846ff93 dm era: Verify the data block size hasn't changed
dm-era doesn't support changing the data block size of existing devices,
so check explicitly that the requested block size for a new target
matches the one stored in the metadata.

Fixes: eec40579d84873 ("dm: add era target")
Cc: stable@vger.kernel.org # v3.15+
Signed-off-by: Nikos Tsironis <ntsironis@arrikto.com>
Reviewed-by: Ming-Hung Tsai <mtsai@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
2021-02-10 13:31:16 -05:00
..
2019-11-12 19:12:07 -07:00
2020-07-08 17:20:46 -06:00
2020-08-03 11:57:03 -07:00
2021-02-03 10:13:00 -05:00
2020-12-16 13:09:32 -08:00
2021-02-01 09:35:20 -07:00
2021-01-27 09:51:48 -07:00
2020-12-16 12:57:51 -08:00
2021-01-27 09:51:48 -07:00
2021-01-27 09:51:48 -07:00