dm-zoned: remove the ->name field in struct dmz_dev
authorChristoph Hellwig <hch@lst.de>
Tue, 1 Mar 2022 08:38:14 +0000 (10:38 +0200)
committerMike Snitzer <snitzer@redhat.com>
Wed, 2 Mar 2022 17:15:35 +0000 (12:15 -0500)
commit977ff73e64151d94811f4ba905419c90573f63e1
tree1a3bc32bfd97c8af94304e39f8ac56205190221b
parentf5b4aee10c024a35901cc2f1b9b4d80986a93937
dm-zoned: remove the ->name field in struct dmz_dev

Just use the %pg format specifier to print the block device name
directly.

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