[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20211011073556.GA10735@lst.de>
Date: Mon, 11 Oct 2021 09:35:56 +0200
From: Christoph Hellwig <hch@....de>
To: "Yan, Zheng" <ukernel@...il.com>
Cc: linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
axboe@...nel.dk, hch@....de, paskripkin@...il.com,
"Yan, Zheng" <yanzheng03@...ishou.com>
Subject: Re: [PATCH v2] block: nbd: fix sanity check for first_minor
On Mon, Oct 11, 2021 at 10:45:09AM +0800, Yan, Zheng wrote:
> From: "Yan, Zheng" <yanzheng03@...ishou.com>
>
> 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.
Powered by blists - more mailing lists