]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: Convert mpage_release_unused_pages() to use filemap_get_folios()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 3 Jun 2022 19:36:49 +0000 (15:36 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 29 Jun 2022 12:51:06 +0000 (08:51 -0400)
commitae23d01bcb66007a69f5a6dc14b711b4e5cb87d2
tree394bf3fbd42f3f917e2b73495001f0858fdb65ca
parent0605ba6653f6edd879919ff8dc394bde479aed67
ext4: Convert mpage_release_unused_pages() to use filemap_get_folios()

If the folio is large, it may overlap the beginning or end of the
unused range.  If it does, we need to avoid invalidating it.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Christian Brauner (Microsoft) <brauner@kernel.org>
fs/ext4/inode.c