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

From: kernel test robot

Date: Sat Feb 14 2026 - 06:10:33 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 770aaedb461a055f79b971d538678942b6607894
commit: 45dcb3ac9832650e5fdc2046cc7cdb97cebbb888 f2fs: consolidate fsverity_info lookup
date: 10 days ago
config: parisc-randconfig-r113-20260214 (https://download.01.org/0day-ci/archive/20260214/202602141934.xN4mcU2f-lkp@xxxxxxxxx/config)
compiler: hppa-linux-gcc (GCC) 12.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260214/202602141934.xN4mcU2f-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/202602141934.xN4mcU2f-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

hppa-linux-ld: fs/f2fs/data.o: in function `f2fs_readahead':
>> fs/f2fs/data.c:2514:(.text+0xe334): undefined reference to `fsverity_readahead'
hppa-linux-ld: fs/f2fs/data.o: in function `f2fs_read_data_folio':
fs/f2fs/data.c:2494:(.text+0xe494): 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