On Tue, May 23 2023 at 3:45P -0400, Christoph Hellwig <hch at lst.de> wrote: > Use the block_device acquired in dm_get_device for the check instead > of doing an extra lookup. > > Signed-off-by: Christoph Hellwig <hch at lst.de> Reviewed-by: Mike Snitzer <snitzer at kernel.org>