Re: [PATCH 1/2] sysfs: remove exports of sysfs_*change_owner()

From: Danilo Krummrich

Date: Thu Feb 05 2026 - 08:15:33 EST


On Thu Feb 5, 2026 at 2:09 PM CET, Greg Kroah-Hartman wrote:
> Both sysfs_change_owner() and sysfs_file_change_owner() are exported to
> modules, but there are no in-kernel module users, so remove the exports
> so that crazy out-of-tree drivers don't get the impression that it is
> safe to call these functions at all.
>
> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

Reviewed-by: Danilo Krummrich <dakr@xxxxxxxxxx>