]> 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)
commitde2f95dea02b856531c8b5288f44733ecd9797c4
tree824a12414fbd7afba99197822a97b6f015195388
parent9320ab4423e9695f6ac10d9f0543bb253a2ca291
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