[PATCH 1/8] mtd_blkdevs: don't hold del_mtd_blktrans_dev in blktrans_{open, release}
Miquel Raynal
miquel.raynal at bootlin.com
Mon Aug 23 01:33:46 PDT 2021
On Mon, 2021-08-23 at 07:33:52 UTC, Christoph Hellwig wrote:
> There is nothing that this protects against except for slightly reducing
> the window when new opens can appear just before calling del_gendisk.
>
> Reported-by: Guenter Roeck <linux at roeck-us.net>
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> Tested-by: Guenter Roeck <linux at roeck-us.net>
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