Re: [PATCH 1/8] block: split __blkdev_get

Ming Lei
2021-05-19T09:21:51Z

On Wed, May 12, 2021 at 08:18:49AM +0200, Christoph Hellwig wrote:
> Split __blkdev_get into one helper for the whole device, and one for
> opening partitions. This removes the (bounded) recursion when opening
> a partition.
>
> Signed-off-by: Christoph Hellwig <hch@lst.de>

Nice cleanup, now the blkdev get code becomes more readable than before:

Reviewed-by: Ming Lei <ming.lei@redhat.com>

--
Ming