Re: [v5.15 Regression] block: rename GENHD_FL_NO_PART_SCAN to GENHD_FL_NO_PART
From: Greg KH
Date: Wed Apr 03 2024 - 13:56:55 EST
On Wed, Apr 03, 2024 at 01:50:09PM -0400, Joseph Salisbury wrote:
> Hi Christoph,
>
> A kernel bug report was opened against Ubuntu [0]. This bug is a regression
> introduced in mainline version v5.17-rc1 and made it's way into v5.15 stable
> updates.
>
> The following commit was identified as the cause of the regression in 5.15:
>
> c6ce1c5dd327 ("block: rename GENHD_FL_NO_PART_SCAN to GENHD_FL_NO_PART")
How is renaming a define a "regression"?
> I was hoping to get your feedback, since you are the patch author. Is the
> best approach to revert this commit, since many third parties rely on the
> name being GENHD_FL_NO_PART_SCAN in kernel headers?
External kernel modules are never an issue. Is this a userspace thing?
> Is there a specific need that you know of that requires this commit
> in the 5.15 and earlier stable kernels?
Yes. And Christoph did not do the backport, so I doubt he cares :)
Again, what in-kernel issue is caused by this?
thanks,
greg k-h