fs/f2fs/data.c:2514: undefined reference to `fsverity_readahead'

From: kernel test robot

Date: Tue Feb 17 2026 - 20:09:36 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 2961f841b025fb234860bac26dfb7fa7cb0fb122
commit: 45dcb3ac9832650e5fdc2046cc7cdb97cebbb888 f2fs: consolidate fsverity_info lookup
date: 13 days ago
config: parisc-randconfig-r053-20260218 (https://download.01.org/0day-ci/archive/20260218/202602180838.pwICdY2r-lkp@xxxxxxxxx/config)
compiler: hppa-linux-gcc (GCC) 9.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260218/202602180838.pwICdY2r-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202602180838.pwICdY2r-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

hppa-linux-ld: fs/f2fs/data.o: in function `f2fs_readahead':
>> fs/f2fs/data.c:2514: undefined reference to `fsverity_readahead'
hppa-linux-ld: fs/f2fs/data.o: in function `f2fs_read_data_folio':
fs/f2fs/data.c:2494: undefined reference to `fsverity_readahead'


vim +2514 fs/f2fs/data.c

2497
2498 static void f2fs_readahead(struct readahead_control *rac)
2499 {
2500 struct inode *inode = rac->mapping->host;
2501 struct fsverity_info *vi = NULL;
2502
2503 trace_f2fs_readpages(inode, readahead_index(rac), readahead_count(rac));
2504
2505 if (!f2fs_is_compress_backend_ready(inode))
2506 return;
2507
2508 /* If the file has inline data, skip readahead */
2509 if (f2fs_has_inline_data(inode))
2510 return;
2511
2512 vi = f2fs_need_verity(inode, readahead_index(rac));
2513 if (vi)
> 2514 fsverity_readahead(vi, readahead_index(rac),
2515 readahead_count(rac));
2516 f2fs_mpage_readpages(inode, vi, rac, NULL);
2517 }
2518

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki