dm zoned: add metadata pointer to struct dmz_dev
authorHannes Reinecke <hare@suse.de>
Tue, 2 Jun 2020 11:09:49 +0000 (13:09 +0200)
committerMike Snitzer <snitzer@redhat.com>
Fri, 5 Jun 2020 18:59:49 +0000 (14:59 -0400)
commit18979819b57ecbc598a8e27d925ab4bb9e145cf0
tree4861c3c98531bc7c20a6aae7beb7d74071bdaf0e
parent8f22272af7a72763fe9f6b710cdcc380fed80f75
dm zoned: add metadata pointer to struct dmz_dev

Add a metadata pointer within struct dmz_dev and use it as argument
for blkdev_report_zones() instead of the metadata itself.

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.h