block: reject attempts to allocate more than DISK_MAX_PARTS partitions
authorChristoph Hellwig <hch@lst.de>
Wed, 23 Aug 2017 17:10:29 +0000 (19:10 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 23 Aug 2017 18:49:50 +0000 (12:49 -0600)
commitde65b0123216a8e1dbe3ca1eb20a45572b9e71d9
treef1c0278d6d8e18f22b42829b81e058def7ce69bc
parent10433d04b8e647a50feffec72fd3cf40ce42b084
block: reject attempts to allocate more than DISK_MAX_PARTS partitions

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/genhd.c