linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pavel Skripkin <paskripkin@gmail.com>
To: Yu Kuai <yukuai3@huawei.com>, josef@toxicpanda.com, axboe@kernel.dk
Cc: linux-block@vger.kernel.org, nbd@other.debian.org,
	linux-kernel@vger.kernel.org, yi.zhang@huawei.com,
	luomeng12@huawei.com, Christoph Hellwig <hch@lst.de>
Subject: Re: [PATCH 0/2] nbd: fix sanity check for first_minor
Date: Thu, 21 Oct 2021 15:35:24 +0300	[thread overview]
Message-ID: <72fb140d-609b-c035-bdd6-d2b8639c116b@gmail.com> (raw)
In-Reply-To: <20211021122936.758221-1-yukuai3@huawei.com>

On 10/21/21 15:29, Yu Kuai wrote:
> Yu Kuai (2):
>    nbd: fix max value for 'first_minor'
>    nbd: fix possible overflow for 'first_minor' in nbd_dev_add()
> 
>   drivers/block/nbd.c | 6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)
> 

Hi, Yu!

Thank you for the fix, but this wrong check should be just removed, 
since root case of wrong sysfs file creation was fixed, as Christoph 
said [1]




[1] https://lore.kernel.org/lkml/20211011073556.GA10735@lst.de/



With regards,
Pavel Skripkin

  parent reply	other threads:[~2021-10-21 12:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-21 12:29 [PATCH 0/2] nbd: fix sanity check for first_minor Yu Kuai
2021-10-21 12:29 ` [PATCH 1/2] nbd: fix max value for 'first_minor' Yu Kuai
2021-10-21 12:29 ` [PATCH 2/2] nbd: fix possible overflow for 'first_minor' in nbd_dev_add() Yu Kuai
2021-10-21 12:35 ` Pavel Skripkin [this message]
2021-10-21 13:13   ` [PATCH 0/2] nbd: fix sanity check for first_minor yukuai (C)
2021-10-21 13:37     ` yukuai (C)
2021-10-25 13:41       ` yukuai (C)
2021-11-01  8:06         ` yukuai (C)
2021-10-21 16:47     ` Pavel Skripkin

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=72fb140d-609b-c035-bdd6-d2b8639c116b@gmail.com \
    --to=paskripkin@gmail.com \
    --cc=axboe@kernel.dk \
    --cc=hch@lst.de \
    --cc=josef@toxicpanda.com \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luomeng12@huawei.com \
    --cc=nbd@other.debian.org \
    --cc=yi.zhang@huawei.com \
    --cc=yukuai3@huawei.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).