diff options
author | Christoph Hellwig <hch@lst.de> | 2021-08-23 09:33:52 +0200 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2021-08-23 10:00:59 +0200 |
commit | 799ae31c58ae766a4ce9b198658b286ecaf2c575 (patch) | |
tree | 0e4c01a1cc865ef7377bc05b3c7bdc44b804ba60 /init/do_mounts_rd.c | |
parent | mtd: mtdconcat: Check _read, _write callbacks existence before assignment (diff) | |
download | linux-799ae31c58ae766a4ce9b198658b286ecaf2c575.tar.xz linux-799ae31c58ae766a4ce9b198658b286ecaf2c575.zip |
mtd_blkdevs: don't hold del_mtd_blktrans_dev in blktrans_{open, release}
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@roeck-us.net>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210823073359.705281-2-hch@lst.de
Diffstat (limited to 'init/do_mounts_rd.c')
0 files changed, 0 insertions, 0 deletions