next-20151021 - compile error in fs/f2fs/checkpoint.c

From: Valdis Kletnieks
Date: Wed Oct 21 2015 - 14:06:58 EST


Building next-20151021 dies with this error:

CC [M] fs/f2fs/checkpoint.o
fs/f2fs/checkpoint.c: In function 'get_valid_checkpoint':
fs/f2fs/checkpoint.c:707:3: error: too few arguments to function 'ra_meta_pages'
ra_meta_pages(sbi, cp_blk_no + 1, cp_blks - 1, META_CP);
^
fs/f2fs/checkpoint.c:143:5: note: declared here
int ra_meta_pages(struct f2fs_sb_info *sbi, block_t start, int nrpages,
^
scripts/Makefile.build:258: recipe for target 'fs/f2fs/checkpoint.o' failed
make[2]: *** [fs/f2fs/checkpoint.o] Error 1

Looks like this commit:

commit 26879fb101f28c554294eaf25ac7817a2825b180
Author: Chao Yu <chao2.yu@xxxxxxxxxxx>
Date: Mon Oct 12 17:05:59 2015 +0800

f2fs: support lower priority asynchronous readahead in ra_meta_pages

missed updating one call. Apparently this wasn't compile-tested before
being pushed upstream?

Attachment: pgpnT2KelI_VU.pgp
Description: PGP signature