Skip to content
Commit a6f440f3 authored by Vishal Moola (Oracle)'s avatar Vishal Moola (Oracle) Committed by Greg Kroah-Hartman
Browse files

khugepage: replace try_to_release_page() with filemap_release_folio()

[ Upstream commit 64ab3195 ]

Replace some calls with their folio equivalents.  This change removes 4
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-3-vishal.moola@gmail.com


Signed-off-by: default avatarVishal 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: default avatarAndrew Morton <akpm@linux-foundation.org>
Stable-dep-of: 1898efcd ("block: update the stable_writes flag in bdev_add")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 4c78612e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment