Re: [PATCH] block: Set memalloc_noio to false in the error path

From: Luis Chamberlain
Date: Thu Oct 26 2023 - 17:14:46 EST


On Wed, Oct 25, 2023 at 03:54:36PM +0800, Zhong Jinghua wrote:
> From: Zhong Jinghua <zhongjinghua@xxxxxxxxxx>
>
> In del_gendisk, memalloc_noio is set to false, so it would be better to do
> the same thing in the error path.

The commit does not mention what happens if this is not done.

Luis