filemap: call filemap_get_folios_tag() from filemap_get_folios()
authorPankaj Raghav <p.raghav@samsung.com>
Fri, 6 Oct 2023 11:01:20 +0000 (13:01 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 18 Oct 2023 21:34:16 +0000 (14:34 -0700)
commitbafd7e9d353ea091958d0dc702390add34b480e9
tree9f682ffc64f66932b4da9d0eaf07b87bdf4289a6
parent0dfca313a009c83e2ad44b3719dc1222df6c6db5
filemap: call filemap_get_folios_tag() from filemap_get_folios()

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().

No functional changes.

Link: https://lkml.kernel.org/r/20231006110120.136809-1-kernel@pankajraghav.com
Signed-off-by: Pankaj Raghav <p.raghav@samsung.com>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/filemap.c