Re: linux-next: build failure after merge of the bcachefs tree

From: Greg Kroah-Hartman
Date: Mon Oct 14 2024 - 02:17:24 EST


On Mon, Oct 14, 2024 at 10:28:59AM +1100, Stephen Rothwell wrote:
> Hi all,
>
> After merging the bcachefs tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> ERROR: modpost: "sysfs_delete_link" [fs/bcachefs/bcachefs.ko] undefined!
>
> Caused by commit
>
> c37fd6772eea ("bcachefs: Fix sysfs warning in fstests generic/730,731")
>
> sysfs_delete_link() is not exported to modules.

Perhaps sysfs_remove_link() should be used instead?

thanks,

greg k-h