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

From
Ming Lei <hidden>
Date
2021-05-19 09:21:50
Also in
linux-raid, linux-s390, linux-scsi
Reply to
Christoph Hellwig, 2021-05-12
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 <redacted>

-- 
Ming
Thread (12 messages) 12 messages, 2 authors, last reply 2021-05-19
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help