Re: Patch "driver core: remove CONFIG_SYSFS_DEPRECATED and CONFIG_SYSFS_DEPRECATED_V2" has been added to the 5.15-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jan 20, 2024 at 08:29:31PM -0500, Sasha Levin wrote:
> This is a note to let you know that I've just added the patch titled
> 
>     driver core: remove CONFIG_SYSFS_DEPRECATED and CONFIG_SYSFS_DEPRECATED_V2
> 
> to the 5.15-stable tree which can be found at:
>     http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
> 
> The filename of the patch is:
>      driver-core-remove-config_sysfs_deprecated-and-confi.patch
> and it can be found in the queue-5.15 subdirectory.
> 
> If you, or anyone else, feels it should not be added to the stable tree,
> please let <stable@xxxxxxxxxxxxxxx> know about it.
> 
> 
> 
> commit 8b2493474383d7966b09bce73a840539090e7d75
> Author: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> Date:   Thu Feb 23 08:33:26 2023 +0100
> 
>     driver core: remove CONFIG_SYSFS_DEPRECATED and CONFIG_SYSFS_DEPRECATED_V2
>     
>     [ Upstream commit 721da5cee9d43901105f5b8bd33fcb9101b12fc3 ]
>     
>     CONFIG_SYSFS_DEPRECATED was added in commit 88a22c985e35
>     ("CONFIG_SYSFS_DEPRECATED") in 2006 to allow systems with older versions
>     of some tools (i.e. Fedora 3's version of udev) to boot properly.  Four
>     years later, in 2010, the option was attempted to be removed as most of
>     userspace should have been fixed up properly by then, but some kernel
>     developers clung to those old systems and refused to update, so we added
>     CONFIG_SYSFS_DEPRECATED_V2 in commit e52eec13cd6b ("SYSFS: Allow boot
>     time switching between deprecated and modern sysfs layout") to allow
>     them to continue to boot properly, and we allowed a boot time parameter
>     to be used to switch back to the old format if needed.
>     
>     Over time, the logic that was covered under these config options was
>     slowly removed from individual driver subsystems successfully, removed,
>     and the only thing that is now left in the kernel are some changes in
>     the block layer's representation in sysfs where real directories are
>     used instead of symlinks like normal.
>     
>     Because the original changes were done to userspace tools in 2006, and
>     all distros that use those tools are long end-of-life, and older
>     non-udev-based systems do not care about the block layer's sysfs
>     representation, it is time to finally remove this old logic and the
>     config entries from the kernel.
>     
>     Cc: Jonathan Corbet <corbet@xxxxxxx>
>     Cc: "Rafael J. Wysocki" <rafael@xxxxxxxxxx>
>     Cc: linux-block@xxxxxxxxxxxxxxx
>     Cc: linux-doc@xxxxxxxxxxxxxxx
>     Acked-by: Jens Axboe <axboe@xxxxxxxxx>
>     Link: https://lore.kernel.org/r/20230223073326.2073220-1-gregkh@xxxxxxxxxxxxxxxxxxx
>     Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
>     Stable-dep-of: 5fa3d1a00c2d ("block: Set memalloc_noio to false on device_add_disk() error path")

While this seems like a dependency, it shouldn't be, I'll see if I can
rework it so that this commit is not needed as we can't drop this in
5.15.y :(

thanks,

greg k-h




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux