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

From: Kent Overstreet
Date: Mon Oct 14 2024 - 02:18:35 EST


On Mon, Oct 14, 2024 at 08:17:12AM +0200, Greg Kroah-Hartman wrote:
> 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?

Yes, I've switched the patch back to that