]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ext4: convert move_extent_per_page() to use folios
authorVishal Moola (Oracle) <vishal.moola@gmail.com>
Fri, 18 Nov 2022 07:30:52 +0000 (23:30 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Jan 2024 16:10:31 +0000 (17:10 +0100)
commit4c78612e5fbc632f1568fa237d261241061cc7c2
tree86b722f13d305d0e17f1bad549aea9fb6480e929
parentb92a8f591ca8ba302d486728746a1afaeadf6b00
ext4: convert move_extent_per_page() to use folios

[ Upstream commit 6dd8fe86fa84729538d8bed3149faf9c5886bb5b ]

Patch series "Removing the try_to_release_page() wrapper", v3.

This patchset replaces the remaining calls of try_to_release_page() with
the folio equivalent: filemap_release_folio().  This allows us to remove
the wrapper.

This patch (of 4):

Convert move_extent_per_page() to use folios.  This change removes 5 calls
to compound_head() and is in preparation for the removal of the
try_to_release_page() wrapper.

Link: https://lkml.kernel.org/r/20221118073055.55694-1-vishal.moola@gmail.com
Link: https://lkml.kernel.org/r/20221118073055.55694-2-vishal.moola@gmail.com
Signed-off-by: Vishal Moola (Oracle) <vishal.moola@gmail.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Naoya Horiguchi <naoya.horiguchi@nec.com>
Cc: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Stable-dep-of: 1898efcdbed3 ("block: update the stable_writes flag in bdev_add")
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/ext4/move_extent.c