]> git.baikalelectronics.ru Git - kernel.git/commit
filemap: Add filemap_get_folios()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 3 Jun 2022 19:30:25 +0000 (15:30 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 29 Jun 2022 12:51:05 +0000 (08:51 -0400)
commit6cd72b6cf41dc5d6ae40ffedce19c9b2057ae933
treeafc91df5848bf584e080725e48616c58992a7ef1
parentd111f0a0ba75f2720ad24ed840a2c3f0bf03863d
filemap: Add filemap_get_folios()

This is the equivalent of find_get_pages() but fills a folio_batch
instead of an array of pages.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Christian Brauner (Microsoft) <brauner@kernel.org>
include/linux/pagemap.h
mm/filemap.c