From: Chao Yu Date: Thu, 18 Dec 2014 10:29:05 +0000 (+0800) Subject: f2fs: use ra_meta_pages to simplify readahead code in restore_node_summary X-Git-Tag: fixes-v4.0-rc1~114^2~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ecf4b80bd32ad727d7fca56706bb5b059935c18;p=pandora-kernel.git f2fs: use ra_meta_pages to simplify readahead code in restore_node_summary Use more common function ra_meta_pages() with META_POR to readahead node blocks in restore_node_summary() instead of ra_sum_pages(), hence we can simplify the readahead code there, and also we can remove unused function ra_sum_pages(). changes from v2: o use invalidate_mapping_pages as before suggested by Changman Lee. changes from v1: o fix one bug when using truncate_inode_pages_range which is pointed out by Jaegeuk Kim. Reviewed-by: Changman Lee Signed-off-by: Chao Yu Signed-off-by: Jaegeuk Kim --- Reading git-diff-tree failed