diff options
author | 2021-12-06 08:04:09 +0100 | |
---|---|---|
committer | 2021-12-06 09:47:06 -0700 | |
commit | 776b54e97a7d993ba23696e032426d5dea5bbe70 (patch) | |
tree | ad338136fe0d0fb65123093b864627f802a7911a /scripts/gdb/linux/utils.py | |
parent | loop: Use pr_warn_once() for loop_control_remove() warning (diff) | |
download | wireguard-linux-776b54e97a7d993ba23696e032426d5dea5bbe70.tar.xz wireguard-linux-776b54e97a7d993ba23696e032426d5dea5bbe70.zip |
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>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions