[PATCH 09/44] dm: remove the block_device reference in struct mapped_device

Hannes Reinecke hare at suse.de
Fri Nov 27 05:36:14 EST 2020


On 11/26/20 2:03 PM, Christoph Hellwig wrote:
> Get rid of the long-lasting struct block_device reference in
> struct mapped_device.  The only remaining user is the freeze code,
> where we can trivially look up the block device at freeze time
> and release the reference at thaw time.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> Acked-by: Mike Snitzer <snitzer at redhat.com>
> ---
>   drivers/md/dm-core.h |  2 --
>   drivers/md/dm.c      | 25 ++++++++++++++-----------
>   2 files changed, 14 insertions(+), 13 deletions(-)
> 
Reviewed-by: Hannes Reinecke <hare at suse.de>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke                Kernel Storage Architect
hare at suse.de                              +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer



More information about the linux-mtd mailing list