linux-next: build failure after merge of the vfs-brauner tree
Subsystems (2)
Hi all,
After merging the vfs-brauner tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:
ERROR: modpost: "fget_files_rcu" [arch/powerpc/platforms/cell/spufs/spufs.ko] undefined!
Caused by commit
af66b51563ad ("file: convert to SLAB_TYPESAFE_BY_RCU")
I applied the following fix up patch.
From dab8e3bea1812a352c6e21bf0d0b49d833595d19 Mon Sep 17 00:00:00 2001
From: Stephen Rothwell <[email protected]>
Date: Tue, 3 Oct 2023 09:26:33 +1100
Subject: [PATCH] fix up for "file: convert to SLAB_TYPESAFE_BY_RCU"
--- fs/file.c | 1 + 1 file changed, 1 insertion(+)
fs/file.c +1 -0
@@ -972,6 +972,7 @@ struct file *fget_files_rcu(struct files_struct *files, unsigned int fd) {return __fget_files_rcu (files, fd,0 ); } +EXPORT_SYMBOL_GPL (fget_files_rcu);static struct file *__fget_files (struct files_struct *files,unsigned int fd,fmode_t mask)
Signature · 5 lines
2.40.1 -- Cheers, Stephen Rothwell
Christian Brauner
maintainerQuoted 5 lines · Stephen Rothwell
Hi all,
After merging the vfs-brauner tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:
Quoted 7 lines
ERROR: modpost: "
fget_files_rcu" [arch/powerpc/platforms/cell/spufs/spufs.ko] undefined!Caused by commit
af66b51563ad("file: convert toSLAB_TYPESAFE_BY_RCU")I applied the following fix up patch.
Thank you. On vacation this week (I saw Jan already informed you.) but I fixed this up by removing fget_files_rcu() exposure in a header completely.