# Re: \[dm-devel\] \[PATCH 02/26\] block: move the DISK\_MAX\_PARTS sanity check into \_\_device\_add\_disk

- From: Luis Chamberlain \<mcgrof@kernel.org\>
- Date: 2021-05-21 17:18:11 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2021/05/6402850
- Thread: https://ratatoskr.run/linux-m68k/2021/05/6402806/t.md

```text
On Fri, May 21, 2021 at 07:50:52AM +0200, Christoph Hellwig wrote:
> 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 <hch@lst.de>

Reviewed-by: Luis Chamberlain <mcgrof@kernel.org>

  Luis
```
