Re: [REGRESSION] "add a disk_uevent helper" breaks booting Andorid w/ dynamic partitions

From: John Stultz
Date: Tue Feb 23 2021 - 17:56:37 EST


On Mon, Feb 22, 2021 at 10:31 PM Christoph Hellwig <hch@xxxxxx> wrote:
>
> Please try the patch below:
>
> ---
> From 85943345b41ec04f5a9e92dfad85b0fb24e2d2eb Mon Sep 17 00:00:00 2001
> From: Christoph Hellwig <hch@xxxxxx>
> Date: Tue, 23 Feb 2021 07:28:22 +0100
> Subject: block: don't skip empty device in in disk_uevent
>
> Restore the previous behavior by using the correct flag for the whole device
> ("part0").
>
> Fixes: 99dfc43ecbf6 ("block: use ->bi_bdev for bio based I/O accounting")
> Reported-by: John Stultz <john.stultz@xxxxxxxxxx>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>

Yes, this seems to fix the problem! Thank you so much!
Tested-by: John Stultz <john.stultz@xxxxxxxxxx>