aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/arm-cs-trace-disasm.py
diff options
context:
space:
mode:
authorLi Lingfeng <[email protected]>2023-08-31 07:59:00 +0000
committerJens Axboe <[email protected]>2023-08-31 14:00:35 +0000
commit1a721de8489fa559ff4471f73c58bb74ac5580d3 (patch)
treee1300f5ae99942348720ea7d8caff20962f1f8ef /tools/perf/scripts/python/arm-cs-trace-disasm.py
parentblock: remove the call to file_remove_privs in blkdev_write_iter (diff)
downloadkernel-1a721de8489fa559ff4471f73c58bb74ac5580d3.tar.gz
kernel-1a721de8489fa559ff4471f73c58bb74ac5580d3.zip
block: don't add or resize partition on the disk with GENHD_FL_NO_PART
Commit a33df75c6328 ("block: use an xarray for disk->part_tbl") remove disk_expand_part_tbl() in add_partition(), which means all kinds of devices will support extended dynamic `dev_t`. However, some devices with GENHD_FL_NO_PART are not expected to add or resize partition. Fix this by adding check of GENHD_FL_NO_PART before add or resize partition. Fixes: a33df75c6328 ("block: use an xarray for disk->part_tbl") Signed-off-by: Li Lingfeng <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions