From: kernel test robot <lkp@intel.com>
To: Mike Snitzer <snitzer@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
Anna Schumaker <anna.schumaker@oracle.com>,
NeilBrown <neilb@suse.de>, Jeff Layton <jlayton@kernel.org>
Subject: fs/nfs/localio.c:209: undefined reference to `nfs_uuid_begin'
Date: Thu, 3 Oct 2024 00:36:58 +0800 [thread overview]
Message-ID: <202410030044.O2B9RUd2-lkp@intel.com> (raw)
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
reply other threads:[~2024-10-02 16:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202410030044.O2B9RUd2-lkp@intel.com \
--to=lkp@intel.com \
--cc=anna.schumaker@oracle.com \
--cc=jlayton@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=neilb@suse.de \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=snitzer@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.