From: Christoph Hellwig <hch@lst.de>
To: Guoqing Jiang <jiangguoqing@kylinos.cn>
Cc: syzbot <syzbot+9ca43ff47167c0ee3466@syzkaller.appspotmail.com>,
axboe@kernel.dk, linux-block@vger.kernel.org,
linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com,
hch@lst.de
Subject: Re: [syzbot] general protection fault in blk_mq_run_hw_queues
Date: Mon, 5 Jul 2021 12:24:55 +0200 [thread overview]
Message-ID: <20210705102455.GA13497@lst.de> (raw)
In-Reply-To: <79eae2c8-3540-f257-6068-2620570fa7f7@kylinos.cn>
On Mon, Jul 05, 2021 at 02:00:17PM +0800, Guoqing Jiang wrote:
> diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c
> index 614d82e7fae4..d2548d36bf21 100644
> --- a/drivers/block/nbd.c
> +++ b/drivers/block/nbd.c
> @@ -222,8 +222,8 @@ static void nbd_dev_remove(struct nbd_device *nbd)
>
> if (disk) {
> del_gendisk(disk);
> - blk_mq_free_tag_set(&nbd->tag_set);
> blk_cleanup_disk(disk);
> + blk_mq_free_tag_set(&nbd->tag_set);
> }
>
> Also paride/pd.c needs the same change, is my understanding correct?
> Christoph.
Yes. Do you have a patch or should I send one?
prev parent reply other threads:[~2021-07-05 10:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-05 5:48 syzbot
2021-07-05 6:00 ` Guoqing Jiang
2021-07-05 10:24 ` 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=20210705102455.GA13497@lst.de \
--to=hch@lst.de \
--cc=axboe@kernel.dk \
--cc=jiangguoqing@kylinos.cn \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=syzbot+9ca43ff47167c0ee3466@syzkaller.appspotmail.com \
--cc=syzkaller-bugs@googlegroups.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
all inboxes | Powered by JetHome®