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

memory-failure: convert truncate_error_page() to use folio

[ Upstream commit ac5efa78 ]

Replace try_to_release_page() with filemap_release_folio().  This change
is in preparation for the removal of the try_to_release_page() wrapper.

Link: https://lkml.kernel.org/r/20221118073055.55694-4-vishal.moola@gmail.com


Signed-off-by: default avatarVishal Moola (Oracle) <vishal.moola@gmail.com>
Acked-by: default avatarNaoya Horiguchi <naoya.horiguchi@nec.com>
Cc: Matthew Wilcox <willy@infradead.org>
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 a6f440f3
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