]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcb4b58e9ee71cf2810d8de0d0eaeb92bb7f2a19f
tree4861c3c98531bc7c20a6aae7beb7d74071bdaf0e
parentde2f95dea02b856531c8b5288f44733ecd9797c4
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