]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitabec5a084af78f8128f04fe8d0f8efb39c735b7f
tree824a12414fbd7afba99197822a97b6f015195388
parentfb8ee438eabb6d40b34d25fdaa02562ceeeda28f
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