[PATCH 7/8] mtd_blkdevs: simplify blktrans_getgeo

Miquel Raynal miquel.raynal at bootlin.com
Mon Aug 23 01:33:18 PDT 2021


On Mon, 2021-08-23 at 07:33:58 UTC, Christoph Hellwig wrote:
> No need to grab a mtd_blktrans_dev given that ->open already holds one
> and ->getgeo can only be called on an open disk.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.

Miquel



More information about the linux-mtd mailing list