[PATCH 5/8] mtd_blkdevs: simplify blktrans_dev_get

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


On Mon, 2021-08-23 at 07:33:56 UTC, Christoph Hellwig wrote:
> ->private_data is set before the disk is added and never cleared, so don't
> bother trying to handle a NULL pointer there.
> 
> 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