On Tue, May 23 2023 at 3:45P -0400, Christoph Hellwig <hch@xxxxxx> 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@xxxxxx> Reviewed-by: Mike Snitzer <snitzer@xxxxxxxxxx>