]> 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)
commit9128fb42b3f243ca095cfdada7c5778b037bc4ec
tree4861c3c98531bc7c20a6aae7beb7d74071bdaf0e
parentabec5a084af78f8128f04fe8d0f8efb39c735b7f
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