[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210705102455.GA13497@lst.de>
Date: Mon, 5 Jul 2021 12:24:55 +0200
From: Christoph Hellwig <hch@....de>
To: Guoqing Jiang <jiangguoqing@...inos.cn>
Cc: syzbot <syzbot+9ca43ff47167c0ee3466@...kaller.appspotmail.com>,
axboe@...nel.dk, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org, syzkaller-bugs@...glegroups.com,
hch@....de
Subject: Re: [syzbot] general protection fault in blk_mq_run_hw_queues
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?
Powered by blists - more mailing lists