* [ammarfaizi2-block:dhowells/linux-fs/netfs-maple 24/40] include/linux/fscache.h:540: undefined reference to `__fscache_begin_write_operation'
@ 2022-04-05 15:28 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-04-05 15:28 UTC (permalink / raw)
To: David Howells; +Cc: kbuild-all, GNU/Weeb Mailing List, linux-kernel
tree: https://github.com/ammarfaizi2/linux-block dhowells/linux-fs/netfs-maple
head: 674eea41fc70a740ff83ec590f9833f805852464
commit: d77af6a0e73b5e3c4bae01c64df536f2662e2dab [24/40] netfs: Dispatch write requests to process a writeback slice
config: x86_64-rhel-8.3-func (https://download.01.org/0day-ci/archive/20220405/[email protected]/config)
compiler: gcc-11 (Debian 11.2.0-19) 11.2.0
reproduce (this is a W=1 build):
# https://github.com/ammarfaizi2/linux-block/commit/d77af6a0e73b5e3c4bae01c64df536f2662e2dab
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block dhowells/linux-fs/netfs-maple
git checkout d77af6a0e73b5e3c4bae01c64df536f2662e2dab
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>
All errors (new ones prefixed by >>):
ld: fs/netfs/output.o: in function `fscache_begin_write_operation':
>> include/linux/fscache.h:540: undefined reference to `__fscache_begin_write_operation'
vim +540 include/linux/fscache.h
9af1c6c3089b29 David Howells 2021-10-20 516
16f2f4e679cfda David Howells 2021-08-27 517 /**
16f2f4e679cfda David Howells 2021-08-27 518 * fscache_begin_write_operation - Begin a write operation for the netfs lib
16f2f4e679cfda David Howells 2021-08-27 519 * @cres: The cache resources for the write being performed
16f2f4e679cfda David Howells 2021-08-27 520 * @cookie: The cookie representing the cache object
16f2f4e679cfda David Howells 2021-08-27 521 *
16f2f4e679cfda David Howells 2021-08-27 522 * Begin a write operation on behalf of the netfs helper library. @cres
16f2f4e679cfda David Howells 2021-08-27 523 * indicates the cache resources to which the operation state should be
16f2f4e679cfda David Howells 2021-08-27 524 * attached; @cookie indicates the cache object that will be accessed.
16f2f4e679cfda David Howells 2021-08-27 525 *
16f2f4e679cfda David Howells 2021-08-27 526 * @cres->inval_counter is set from @cookie->inval_counter for comparison at
16f2f4e679cfda David Howells 2021-08-27 527 * the end of the operation. This allows invalidation during the operation to
16f2f4e679cfda David Howells 2021-08-27 528 * be detected by the caller.
16f2f4e679cfda David Howells 2021-08-27 529 *
16f2f4e679cfda David Howells 2021-08-27 530 * Returns:
16f2f4e679cfda David Howells 2021-08-27 531 * * 0 - Success
16f2f4e679cfda David Howells 2021-08-27 532 * * -ENOBUFS - No caching available
16f2f4e679cfda David Howells 2021-08-27 533 * * Other error code from the cache, such as -ENOMEM.
16f2f4e679cfda David Howells 2021-08-27 534 */
16f2f4e679cfda David Howells 2021-08-27 535 static inline
16f2f4e679cfda David Howells 2021-08-27 536 int fscache_begin_write_operation(struct netfs_cache_resources *cres,
16f2f4e679cfda David Howells 2021-08-27 537 struct fscache_cookie *cookie)
16f2f4e679cfda David Howells 2021-08-27 538 {
16f2f4e679cfda David Howells 2021-08-27 539 if (fscache_cookie_enabled(cookie))
16f2f4e679cfda David Howells 2021-08-27 @540 return __fscache_begin_write_operation(cres, cookie);
16f2f4e679cfda David Howells 2021-08-27 541 return -ENOBUFS;
16f2f4e679cfda David Howells 2021-08-27 542 }
16f2f4e679cfda David Howells 2021-08-27 543
:::::: The code at line 540 was first introduced by commit
:::::: 16f2f4e679cfdaa9552574484f104014908a76c6 nfs: Implement cache I/O by accessing the cache directly
:::::: TO: David Howells <[email protected]>
:::::: CC: David Howells <[email protected]>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-04-05 15:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-05 15:28 [ammarfaizi2-block:dhowells/linux-fs/netfs-maple 24/40] include/linux/fscache.h:540: undefined reference to `__fscache_begin_write_operation' 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