Re: Re. Revised [PATCH 3/3] mm/readahead: Remove the check forra->ra_pages

From: Wu Fengguang
Date: Tue Jul 12 2011 - 14:09:59 EST


> The check for ra->ra_pages is not required since fs like tmpfs which have
> ra_pages set to 0 don't use filemap_fault as part of their VMA ops (it uses
> shmem_fault). Also, page_cache_sync_readahead does its own check for ra_pages.
>
> Signed-off-by: Raghavendra D Prabhu <rprabhu@xxxxxxxxxxx>

Acked-by: Wu Fengguang <fengguang.wu@xxxxxxxxx>

Thank you!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/