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>
authored by Christoph Hellwig and committed by Jens Axboe 8 years ago de65b012 10433d04