问题
代码打上patch后,编译报错。之前合上patch不会报错,近期才出现莫名其妙的问题。
log:cc1: some warnings being treated as errors
LD built_in.o error
fs/built-in.o: In function `preallocation_vblock_check':
/home/ylh/ICPP/hikey-linaro/fs/f2fs/file_preallocate.c:124: undefined reference to `need_SSR'
fs/built-in.o: In function `get_dnode_by_pgofs':
/home/ylh/ICPP/hikey-linaro/fs/f2fs/file_preallocate.c:276: undefined reference to `get_dnode_of_data'
/home/ylh/ICPP/hikey-linaro/fs/f2fs/file_preallocate.c:287: undefined reference to `get_node_info'
fs/built-in.o: In function `alloc_blockaddr'