diff options
| author | Eric Biggers <ebiggers@kernel.org> | 2026-02-17 17:22:44 -0800 |
|---|---|---|
| committer | Eric Biggers <ebiggers@kernel.org> | 2026-02-17 23:11:40 -0800 |
| commit | 693680b9add63dbebb2505a553ff52f8c706c8c0 (patch) | |
| tree | f8c7c6bb0e50381bfb71fb318ca6184d5f383bc8 /lib/livepatch | |
| parent | 5959495449caf325a0394602568e287f2b829818 (diff) | |
fsverity: fix build error by adding fsverity_readahead() stub
hppa-linux-gcc 9.5.0 generates a call to fsverity_readahead() in
f2fs_readahead() when CONFIG_FS_VERITY=n, because it fails to do the
expected dead code elimination based on vi always being NULL. Fix the
build error by adding an inline stub for fsverity_readahead(). Since
it's just for opportunistic readahead, just make it a no-op.
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202602180838.pwICdY2r-lkp@intel.com/
Fixes: 45dcb3ac9832 ("f2fs: consolidate fsverity_info lookup")
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20260218012244.18536-1-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Diffstat (limited to 'lib/livepatch')
0 files changed, 0 insertions, 0 deletions
