diff options
| author | Christoph Hellwig <[email protected]> | 2021-05-21 07:50:52 +0200 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2021-06-01 07:42:23 -0600 |
| commit | 2e3c73fa0c419f62fd588731be30fb0d1bca9ad6 (patch) | |
| tree | 0eec93944f437ddf5cac38d5dbbdba8b7f0abcf4 /tools/perf/scripts/python | |
| parent | 7c3f828b522b07adb341b08fde1660685c5ba3eb (diff) | |
block: move the DISK_MAX_PARTS sanity check into __device_add_disk
Keep this together with the first place that actually looks at
->minors and prepare for not passing a minors argument to
alloc_disk.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Reviewed-by: Luis Chamberlain <[email protected]>
Reviewed-by: Ulf Hansson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions