Re: [PATCH v11 04/25] mm: Move readahead nr_pages check into read_pages
Reviewed-by: Johannes Thumshirn
[PATCH v11 04/25] mm: Move readahead nr_pages check into read_pages
From: "Matthew Wilcox (Oracle)" Simplify the callers by moving the check for nr_pages and the BUG_ON into read_pages(). Signed-off-by: Matthew Wilcox (Oracle) Reviewed-by: Zi Yan Reviewed-by: John Hubbard Reviewed-by: Christoph Hellwig Reviewed-by: William Kucharski --- mm/readahead.c |