[PATCH v7 04/24] mm: Move readahead nr_pages check into read_pages

Christoph Hellwig hch at infradead.org
Tue Feb 25 08:34:21 AEDT 2020


On Wed, Feb 19, 2020 at 01:00:43PM -0800, Matthew Wilcox wrote:
> From: "Matthew Wilcox (Oracle)" <willy at infradead.org>
> 
> Simplify the callers by moving the check for nr_pages and the BUG_ON
> into read_pages().
> 
> Signed-off-by: Matthew Wilcox (Oracle) <willy at infradead.org>

Looks good,

Reviewed-by: Christoph Hellwig <hch at lst.de>


More information about the Linux-erofs mailing list