Re: [dm-devel] [PATCH 65/78] dm: remove the block_device reference in struct mapped_device

2020-11-19 Thread Hannes Reinecke
On 11/16/20 3:57 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: Chri

[dm-devel] [PATCH 65/78] dm: remove the block_device reference in struct mapped_device

2020-11-16 Thread Christoph Hellwig
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 --- drivers/md/dm-core.h | 2 --