dm zoned: add device pointer to struct dm_zone
authorHannes Reinecke <hare@suse.de>
Tue, 2 Jun 2020 11:09:48 +0000 (13:09 +0200)
committerMike Snitzer <snitzer@redhat.com>
Fri, 5 Jun 2020 18:59:48 +0000 (14:59 -0400)
commit8f22272af7a72763fe9f6b710cdcc380fed80f75
tree824a12414fbd7afba99197822a97b6f015195388
parent5d2c74f3ddc010b5812e556715f7605201eff101
dm zoned: add device pointer to struct dm_zone

Add a pointer, to the containing device, within struct dm_zone and
kill dmz_zone_to_dev().

Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-zoned-metadata.c
drivers/md/dm-zoned-reclaim.c
drivers/md/dm-zoned-target.c
drivers/md/dm-zoned.h