tree:
https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git
fscache-rewrite-indexing
head: 5914ee72cd59ac43f27adae6340e8219592462d5
commit: 7fc886b896abeed2560da268c703bb6af87c8e89 [61/80] afs: Copy local writes to the
cache when writing to the server
config: x86_64-randconfig-a001-20211012 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
#
https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/com...
git remote add dhowells-fs
https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git
git fetch --no-tags dhowells-fs fscache-rewrite-indexing
git checkout 7fc886b896abeed2560da268c703bb6af87c8e89
# save the attached .config 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 <lkp(a)intel.com>
All errors (new ones prefixed by >>):
ld: fs/afs/write.o: in function `afs_set_page_dirty':
> fs/afs/write.c:26: undefined reference to
`fscache_set_page_dirty'
ld: fs/afs/write.o: in function
`fscache_clear_page_bits':
> include/linux/fscache.h:563: undefined reference to
`__fscache_clear_page_bits'
ld: fs/afs/write.o: in function
`fscache_write_to_cache':
> include/linux/fscache.h:595: undefined reference to
`__fscache_write_to_cache'
vim +26 fs/afs/write.c
16
17 static void afs_write_to_cache(struct afs_vnode *vnode, loff_t start, size_t len,
18 loff_t i_size);
19
20 /*
21 * Mark a page as having been made dirty and thus needing writeback. We also
22 * need to pin the cache object to write back to.
23 */
24 int afs_set_page_dirty(struct page *page)
25 {
26 return fscache_set_page_dirty(page,
afs_vnode_cache(AFS_FS_I(page->mapping->host)));
27 }
28
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org