From: Christoph Hellwig <hch@lst.de>
To: "Yan, Zheng" <ukernel@gmail.com>
Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org,
axboe@kernel.dk, hch@lst.de, paskripkin@gmail.com, "Yan,
Zheng" <yanzheng03@kuaishou.com>
Subject: Re: [PATCH v2] block: nbd: fix sanity check for first_minor
Date: Mon, 11 Oct 2021 09:35:56 +0200 [thread overview]
Message-ID: <20211011073556.GA10735@lst.de> (raw)
In-Reply-To: <20211011024509.2012-1-ukernel@gmail.com>
On Mon, Oct 11, 2021 at 10:45:09AM +0800, Yan, Zheng wrote:
> From: "Yan, Zheng" <yanzheng03@kuaishou.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.
prev parent reply other threads:[~2021-10-11 7:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-11 2:45 [PATCH v2] block: nbd: fix sanity check for first_minor Yan, Zheng
2021-10-11 7:35 ` Christoph Hellwig [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211011073556.GA10735@lst.de \
--to=hch@lst.de \
--cc=axboe@kernel.dk \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=paskripkin@gmail.com \
--cc=ukernel@gmail.com \
--cc=yanzheng03@kuaishou.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.