Re: [PATCH v2] block: nbd: fix sanity check for first_minor

From: Christoph Hellwig
Date: Mon Oct 11 2021 - 03:36:01 EST


On Mon, Oct 11, 2021 at 10:45:09AM +0800, Yan, Zheng wrote:
> From: "Yan, Zheng" <yanzheng03@xxxxxxxxxxxx>
>
> Device's minor is a 20-bits number, max value is 0xfffff.

I'd just drop this check again now that we do have proper error
handling in add_disk.