diff options
author | Christoph Hellwig <[email protected]> | 2021-12-06 08:04:09 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-12-12 12:19:10 -0700 |
commit | 17f81f9d4b41d57e474975c3a5ca2a2c4c01e2ec (patch) | |
tree | 61bfb04303bc9e828901abbd1adcc0e94c0b179d /include/linux/overflow.h | |
parent | fea9f92f1748083cb82049ed503be30c3d3a9b69 (diff) |
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 <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Tested-by: Geert Uytterhoeven <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions