* fs/nfs/localio.c:209: undefined reference to `nfs_uuid_begin'
@ 2024-10-02 16:36 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-10-02 16:36 UTC (permalink / raw)
To: Mike Snitzer
Cc: oe-kbuild-all, linux-kernel, Anna Schumaker, NeilBrown,
Jeff Layton
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: e32cde8d2bd7d251a8f9b434143977ddf13dcec6
commit: 56bcd0f07fdbf9770284bedb982236ab881ef909 nfs: implement client support for NFS_LOCALIO_PROGRAM
date: 9 days ago
config: x86_64-randconfig-002-20241002 (https://download.01.org/0day-ci/archive/20241003/202410030044.O2B9RUd2-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241003/202410030044.O2B9RUd2-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202410030044.O2B9RUd2-lkp@intel.com/
All errors (new ones prefixed by >>):
ld: fs/nfs/localio.o: in function `nfs_local_iocb_alloc':
fs/nfs/localio.c:290: undefined reference to `nfs_to'
ld: fs/nfs/localio.c:290: undefined reference to `nfs_to'
ld: fs/nfs/localio.c:290: undefined reference to `nfs_to'
ld: fs/nfs/localio.o: in function `nfs_local_pgio_release':
fs/nfs/localio.c:344: undefined reference to `nfs_to'
ld: fs/nfs/localio.c:344: undefined reference to `nfs_to'
ld: fs/nfs/localio.o:fs/nfs/localio.c:344: more undefined references to `nfs_to' follow
ld: fs/nfs/localio.o: in function `nfs_local_disable':
fs/nfs/localio.c:140: undefined reference to `nfs_uuid_invalidate_one_client'
ld: fs/nfs/localio.o: in function `nfs_local_probe':
>> fs/nfs/localio.c:209: undefined reference to `nfs_uuid_begin'
>> ld: fs/nfs/localio.c:212: undefined reference to `nfs_uuid_end'
ld: fs/nfs/localio.o: in function `nfs_local_open_fh':
fs/nfs/localio.c:233: undefined reference to `nfs_open_local_fh'
ld: fs/nfs/localio.o: in function `nfs_local_doio':
fs/nfs/localio.c:600: undefined reference to `nfs_to'
ld: fs/nfs/localio.c:600: undefined reference to `nfs_to'
ld: fs/nfs/localio.c:625: undefined reference to `nfs_to'
ld: fs/nfs/localio.c:625: undefined reference to `nfs_to'
ld: fs/nfs/localio.o: in function `nfs_local_release_commit_data':
fs/nfs/localio.c:676: undefined reference to `nfs_to'
ld: fs/nfs/localio.o:fs/nfs/localio.c:676: more undefined references to `nfs_to' follow
vim +209 fs/nfs/localio.c
189
190 /*
191 * nfs_local_probe - probe local i/o support for an nfs_server and nfs_client
192 * - called after alloc_client and init_client (so cl_rpcclient exists)
193 * - this function is idempotent, it can be called for old or new clients
194 */
195 void nfs_local_probe(struct nfs_client *clp)
196 {
197 /* Disallow localio if disabled via sysfs or AUTH_SYS isn't used */
198 if (!localio_enabled ||
199 clp->cl_rpcclient->cl_auth->au_flavor != RPC_AUTH_UNIX) {
200 nfs_local_disable(clp);
201 return;
202 }
203
204 if (nfs_client_is_local(clp)) {
205 /* If already enabled, disable and re-enable */
206 nfs_local_disable(clp);
207 }
208
> 209 nfs_uuid_begin(&clp->cl_uuid);
210 if (nfs_server_uuid_is_local(clp))
211 nfs_local_enable(clp);
> 212 nfs_uuid_end(&clp->cl_uuid);
213 }
214 EXPORT_SYMBOL_GPL(nfs_local_probe);
215
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-10-02 16:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-02 16:36 fs/nfs/localio.c:209: undefined reference to `nfs_uuid_begin' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox