Centos-kernel-stream-9/drivers/mtd
Ming Lei df5a1dddb1 mtd_blkdevs: don't scan partitions for plain mtdblock
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2066297

commit 17f81f9d4b41d57e474975c3a5ca2a2c4c01e2ec
Author: Christoph Hellwig <hch@lst.de>
Date:   Mon Dec 6 08:04:09 2021 +0100

    mtd_blkdevs: don't scan partitions for plain mtdblock

    mtdblock / mtdblock_ro set part_bits to 0 and thus nevever scanned
    partitions.  Restore that behavior by setting the GENHD_FL_NO_PART flag.

    Fixes: 1ebe2e5f9d68e94c ("block: remove GENHD_FL_EXT_DEVT")
    Reported-by: Geert Uytterhoeven <geert+renesas@glider.be>
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
    Link: https://lore.kernel.org/r/20211206070409.2836165-1-hch@lst.de
    Signed-off-by: Jens Axboe <axboe@kernel.dk>

Signed-off-by: Ming Lei <ming.lei@redhat.com>
2022-04-11 11:44:27 +08:00
..
chips
devices
hyperbus
lpddr
maps
nand
parsers
spi-nor
tests
ubi block: remove GENHD_FL_EXT_DEVT 2022-04-11 11:44:18 +08:00
Kconfig
Makefile
ftl.c
inftlcore.c
inftlmount.c
mtd_blkdevs.c mtd_blkdevs: don't scan partitions for plain mtdblock 2022-04-11 11:44:27 +08:00
mtdblock.c
mtdblock_ro.c
mtdchar.c
mtdconcat.c
mtdcore.c
mtdcore.h
mtdoops.c
mtdpart.c
mtdpstore.c
mtdsuper.c
mtdswap.c
nftlcore.c
nftlmount.c
rfd_ftl.c
sm_ftl.c
sm_ftl.h
ssfdc.c