Hi,
I tried to rebuild the kernel with my configs[which was working with RL8.10]. I encountered the “implicit declaration error”. I found the write_one_page() declaration is missing in the source code. I have cross verified in github “torvalds/linux/releases/tag/v5.14” which has the same function declared in “mm/page-writeback.c”.
Can you help me in resolving this issue?
SourceRPM used : kernel-5.14.0-611.20.1.el9_7.src.rpm
Reference Error log:
CC fs/ext2/dir.o
fs/ext2/dir.c: In function ‘ext2_commit_chunk’:
fs/ext2/dir.c:99:23: error: implicit declaration of function ‘write_one_page’; did you mean ‘write_cache_pages’? [-Werror=implicit-function-declaration]
99 | err = write_one_page(page);
| ^~~~~~~~~~~~~~
| write_cache_pages