Re: [PATCH] filemap: call filemap_get_folios_tag() from filemap_get_folios()

From: Matthew Wilcox
Date: Fri Oct 06 2023 - 10:41:58 EST


On Fri, Oct 06, 2023 at 01:01:20PM +0200, Pankaj Raghav wrote:
> From: Pankaj Raghav <p.raghav@xxxxxxxxxxx>
>
> filemap_get_folios() is filemap_get_folios_tag() with XA_PRESENT as the
> tag that is being matched. Return filemap_get_folios_tag() with
> XA_PRESENT as the tag instead of duplicating the code in
> filemap_get_folios().

Yes, I think this makes sense. I was consciously trying to make them
as similar to each other as possible. I hadn't realised I'd succeeded
to such an extent.

Reviewed-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>