]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
hugetlb: convert adjust_range_hwpoison() to take a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 26 Feb 2025 16:31:30 +0000 (16:31 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 18 Mar 2025 05:06:58 +0000 (22:06 -0700)
commitfcc09f5b56601e618c3dafc9fdd74882924d9143
tree68d01f2c5ad47b5197ab0bf100a8fa3df8e1d1f4
parentfa17ad58f8328e5c089377fed55ca8ed62f7cd1d
hugetlb: convert adjust_range_hwpoison() to take a folio

Remove a use of folio->page by passing the folio into
adjust_range_hwpoison().  We need to convert to a page eventually, but
that can happen inside adjust_range_hwpoison().

Link: https://lkml.kernel.org/r/20250226163131.3795869-2-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Muchun Song <muchun.song@linux.dev>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/hugetlbfs/inode.c